# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
918541 | 2024-01-30T06:20:37 Z | vjudge1 | Coins (IOI17_coins) | C++17 | 11 ms | 1736 KB |
#include "coins.h" std::vector<int> coin_flips(std::vector<int> b, int c) { int x = c; for(int i = 0;i<b.size();i++) x^=(b[i]?i:0); return {x}; } int find_coin(std::vector<int> b) { int x =0; for(int i = 0;i<b.size();i++) x^=(b[i]?i:0); return x; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 11 ms | 1276 KB | Output is correct |
2 | Correct | 7 ms | 1356 KB | Output is correct |
3 | Correct | 7 ms | 1364 KB | Output is correct |
4 | Correct | 7 ms | 1364 KB | Output is correct |
5 | Correct | 6 ms | 1364 KB | Output is correct |
6 | Correct | 6 ms | 1360 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 11 ms | 1276 KB | Output is correct |
2 | Correct | 7 ms | 1356 KB | Output is correct |
3 | Correct | 7 ms | 1364 KB | Output is correct |
4 | Correct | 7 ms | 1364 KB | Output is correct |
5 | Correct | 6 ms | 1364 KB | Output is correct |
6 | Correct | 6 ms | 1360 KB | Output is correct |
7 | Correct | 7 ms | 1356 KB | Output is correct |
8 | Correct | 7 ms | 1356 KB | Output is correct |
9 | Correct | 7 ms | 1356 KB | Output is correct |
10 | Correct | 8 ms | 1736 KB | Output is correct |
11 | Correct | 7 ms | 1352 KB | Output is correct |
12 | Correct | 6 ms | 1352 KB | Output is correct |
13 | Correct | 7 ms | 1364 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 7 ms | 1364 KB | Output is correct |
2 | Correct | 7 ms | 1360 KB | Output is correct |
3 | Correct | 7 ms | 1364 KB | Output is correct |
4 | Correct | 7 ms | 1356 KB | Output is correct |
5 | Correct | 7 ms | 1332 KB | Output is correct |
6 | Correct | 7 ms | 1364 KB | Output is correct |
7 | Correct | 6 ms | 1356 KB | Output is correct |
8 | Correct | 7 ms | 1364 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 6 ms | 1360 KB | Output is correct |
2 | Correct | 6 ms | 1364 KB | Output is correct |
3 | Correct | 7 ms | 1364 KB | Output is correct |
4 | Correct | 7 ms | 1352 KB | Output is correct |
5 | Correct | 8 ms | 1352 KB | Output is correct |
6 | Correct | 7 ms | 1364 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 11 ms | 1276 KB | Output is correct |
2 | Correct | 7 ms | 1356 KB | Output is correct |
3 | Correct | 7 ms | 1364 KB | Output is correct |
4 | Correct | 7 ms | 1364 KB | Output is correct |
5 | Correct | 6 ms | 1364 KB | Output is correct |
6 | Correct | 6 ms | 1360 KB | Output is correct |
7 | Correct | 7 ms | 1356 KB | Output is correct |
8 | Correct | 7 ms | 1356 KB | Output is correct |
9 | Correct | 7 ms | 1356 KB | Output is correct |
10 | Correct | 8 ms | 1736 KB | Output is correct |
11 | Correct | 7 ms | 1352 KB | Output is correct |
12 | Correct | 6 ms | 1352 KB | Output is correct |
13 | Correct | 7 ms | 1364 KB | Output is correct |
14 | Correct | 7 ms | 1356 KB | Output is correct |
15 | Correct | 7 ms | 1352 KB | Output is correct |
16 | Correct | 7 ms | 1560 KB | Output is correct |
17 | Correct | 7 ms | 1332 KB | Output is correct |
18 | Correct | 7 ms | 1356 KB | Output is correct |
19 | Correct | 7 ms | 1360 KB | Output is correct |
20 | Correct | 7 ms | 1356 KB | Output is correct |
21 | Correct | 7 ms | 1608 KB | Output is correct |
22 | Correct | 6 ms | 1356 KB | Output is correct |
23 | Correct | 7 ms | 1360 KB | Output is correct |
24 | Correct | 7 ms | 1360 KB | Output is correct |
25 | Correct | 6 ms | 1364 KB | Output is correct |