Anna.cpp:1:21: warning: extra tokens at end of #include directive
1 | #include "Annalib.h"#include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == #include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == #include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == N#include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == N);}
| ^
Anna.cpp:1:458: error: extended character is not valid in an identifier
1 | #include "Annalib.h"#include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == #include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == #include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == N#include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == N);}
| ^
Anna.cpp:1:461: error: extended character is not valid in an identifier
1 | #include "Annalib.h"#include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == #include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0); Set(i + 2, 0); continue; } if (cnt == 0) { bool found = false; for (int j = 1; j <= 7; j++) { if (str[j].size() == 1) { continue; } int bit0 = (X >> ptr & 1); int bit1 = (X >> (ptr + 1) & 1); if ((str[j][0] - '0') == bit0 && (str[j][1] - '0') == bit1) { Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); found = true; break; } } assert(found); ptr += 2; continue; } int f = (bad[i] ? 2 : (bad[i + 1] ? 1 : 0)); bool found = false; for (int j = 1; j <= 7; j++) { if (j >> f & 1) { continue; } bool ok = true; for (int k = 0; k < (int) str[j].size(); k++) { int bit = (X >> (ptr + k) & 1); if (bit != (str[j][k] - '0')) { ok = false; } } if (ok) { found = true; Set(i, j >> 2 & 1); Set(i + 1, j >> 1 & 1); Set(i + 2, j >> 0 & 1); ptr += str[j].size(); break; } } assert(found); } assert(cnt == #include <bits/stdc++.h>using namespace std;string str[] = {"0", "0", "1", "00", "10", "11", "0", "01"};bool bad[200];int cnt;void Anna(int N, long long X, int K, int P[]) { cnt = 0; for (int i = 0; i < N; i++) bad[i] = false; for (int i = 0; i < K; i++) bad[P[i]] = true; long long ptr = 0; for (int i = 0; i < N; i += 3) { int cnt = bad[i] + bad[i + 1] + bad[i + 2]; if (cnt >= 2 || ptr >= 64) { Set(i, 0); Set(i + 1, 0);
Bruno.cpp:2:12: error: stray '#' in program
2 | SUBMISSION #785703
| ^
Bruno.cpp:3:3: error: invalid preprocessing directive #Submission
3 | # Submission timeUTC+2 Handle Problem Language Result Execution time Memory
| ^~~~~~~~~~
Bruno.cpp:1:1: error: 'oj' does not name a type
1 | oj.uz
| ^~