# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
852995 | 2023-09-23T10:04:23 Z | danikoynov | Ancient Machine (JOI21_ancient_machine) | C++17 | 67 ms | 9964 KB |
#include "Anna.h" #include <vector> #include <bits/stdc++.h> namespace { } void Anna(int N, std::vector<char> S) { for (int i = 0; i < N; i ++) { if (S[i] == 'X') { Send(0); Send(0); } else if (S[i] == 'Y') { Send(1); Send(0); } else if (S[i] == 'Z') { Send(1); Send(1); } } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 788 KB | Output is correct |
2 | Correct | 1 ms | 788 KB | Output is correct |
3 | Correct | 1 ms | 776 KB | Output is correct |
4 | Correct | 0 ms | 788 KB | Output is correct |
5 | Correct | 0 ms | 792 KB | Output is correct |
6 | Correct | 1 ms | 796 KB | Output is correct |
7 | Correct | 0 ms | 884 KB | Output is correct |
8 | Correct | 0 ms | 784 KB | Output is correct |
9 | Correct | 0 ms | 796 KB | Output is correct |
10 | Correct | 0 ms | 876 KB | Output is correct |
11 | Correct | 0 ms | 780 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Partially correct | 53 ms | 9232 KB | Partially correct |
2 | Partially correct | 55 ms | 9760 KB | Partially correct |
3 | Partially correct | 57 ms | 9804 KB | Partially correct |
4 | Partially correct | 56 ms | 9672 KB | Partially correct |
5 | Partially correct | 55 ms | 9628 KB | Partially correct |
6 | Partially correct | 59 ms | 9588 KB | Partially correct |
7 | Partially correct | 55 ms | 9584 KB | Partially correct |
8 | Partially correct | 57 ms | 9844 KB | Partially correct |
9 | Partially correct | 57 ms | 9816 KB | Partially correct |
10 | Partially correct | 56 ms | 9716 KB | Partially correct |
11 | Partially correct | 59 ms | 9536 KB | Partially correct |
12 | Partially correct | 57 ms | 9668 KB | Partially correct |
13 | Partially correct | 64 ms | 9612 KB | Partially correct |
14 | Partially correct | 67 ms | 9712 KB | Partially correct |
15 | Partially correct | 57 ms | 9860 KB | Partially correct |
16 | Partially correct | 54 ms | 9832 KB | Partially correct |
17 | Partially correct | 59 ms | 9892 KB | Partially correct |
18 | Partially correct | 57 ms | 9768 KB | Partially correct |
19 | Partially correct | 58 ms | 9908 KB | Partially correct |
20 | Partially correct | 51 ms | 9708 KB | Partially correct |
21 | Partially correct | 54 ms | 9720 KB | Partially correct |
22 | Partially correct | 57 ms | 9684 KB | Partially correct |
23 | Partially correct | 55 ms | 9816 KB | Partially correct |
24 | Partially correct | 52 ms | 9588 KB | Partially correct |
25 | Partially correct | 56 ms | 9720 KB | Partially correct |
26 | Partially correct | 56 ms | 9724 KB | Partially correct |
27 | Partially correct | 57 ms | 9712 KB | Partially correct |
28 | Partially correct | 60 ms | 9720 KB | Partially correct |
29 | Partially correct | 56 ms | 9636 KB | Partially correct |
30 | Partially correct | 57 ms | 9728 KB | Partially correct |
31 | Partially correct | 57 ms | 9652 KB | Partially correct |
32 | Partially correct | 51 ms | 9744 KB | Partially correct |
33 | Partially correct | 54 ms | 9964 KB | Partially correct |