// correct/subtask1.cpp
#include "lockpicking.h"
using namespace std;
vector<int> B;
vector<vector<int>> T;
void construct_card(int /*N*/, vector<int> A, vector<vector<int>> S) {
B = A, T = S;
T[0][A[0]^1] = S[1][A[1]^1];
define_states(2, B, T, 0);
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
2 |
Correct |
0 ms |
212 KB |
ok, most errors: 0 (allowed: 1) |
3 |
Correct |
0 ms |
212 KB |
ok, most errors: 0 (allowed: 1) |
4 |
Correct |
1 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
5 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
6 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
7 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
8 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
9 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
10 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
11 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
12 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
212 KB |
Possible tampering with the output |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
212 KB |
Possible tampering with the output |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
2 |
Correct |
0 ms |
212 KB |
ok, most errors: 0 (allowed: 1) |
3 |
Correct |
0 ms |
212 KB |
ok, most errors: 0 (allowed: 1) |
4 |
Correct |
1 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
5 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
6 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
7 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
8 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
9 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
10 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
11 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
12 |
Correct |
0 ms |
212 KB |
ok, most errors: 1 (allowed: 1) |
13 |
Incorrect |
0 ms |
212 KB |
Possible tampering with the output |
14 |
Halted |
0 ms |
0 KB |
- |