来玩解密
No. 1
void encode_output(string X, int Y) { // X : password; Y : just a number
auto n = N(X), m = (n + 7) / 8;
mt19937 rng(Y);
auto y = 1;
R(i, 0, 11) y = i64(y) * Y % 1000000007;
R(i, 0, m) {
auto x = u64(0);
R(j, 0, min(n - i * 8, 8)) x ^= u64(X[i * 8 + j]) << (8 * j);
x ^= rng();
x ^= x << 13;
x ^= x >> 7;
x ^= x << 17;
cout << x << y;
}
cout ntr;
}
17025420668316642063852003144793401394680765048520031172347178782176799548520031373378757719503365385200311046323622354595505185200311406297440260222727185200312281722029858109272852003125289425148689045818520031
求出 password 以后来这里 submit。

浙公网安备 33010602011771号