This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Created by Евгений on 11.10.16. | |
#include <iostream> | |
#include <string> | |
std::string encCaesar(const std::string& message, int shift) { | |
if (shift > 26) | |
shift = shift % 26; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main() { | |
string s1,s2; | |
cin >> s1 >> s2; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { | |
string what,where; | |
cin >> what >> where; | |
int ret = 0, whatLen = what.length(), whereLen = where.length(); | |
vector<int> res(whatLen); | |
res[0] = 0; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Text; | |
namespace CTFSleepingGuard | |
{ | |
internal static class Program | |
{ | |
private static void Test() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program p1; | |
var | |
currX, xEnd, Y: Real; | |
begin | |
currX := -7; | |
xEnd := 7; | |
while currX <= xEnd do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program p2; | |
var | |
r, x, y, d, par: Real; | |
i: Integer; | |
begin | |
readln(r); | |
for i := 1 to 10 do | |
begin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program p3; | |
var | |
xEnd, x, eps, count, t, y, index: Real; | |
ind2: Integer; | |
function power(x: real; n: integer): real; | |
var | |
i: integer; | |
step: real; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html class="full"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<meta name="description" content="EKOPARTY CTF 2016"> | |
<meta name="author" content="NULL Life"> | |
<!-- Latest compiled and minified CSS --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Generate an RSA key pair, sign a message and verify it using crypto++ 5.6.1 or later. | |
//By Tim Sheerman-Chase, 2013 | |
//This code is in the public domain and CC0 | |
//To compile: g++ gen.cpp -lcrypto++ -o gen | |
#include <string> | |
using namespace std; | |
#include <crypto++/rsa.h> | |
#include <crypto++/osrng.h> | |
#include <crypto++/base64.h> |
OlderNewer