# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
756105 | 2023-06-11T06:09:18 Z | drdilyor | Mechanical Doll (IOI18_doll) | C++17 | 19 ms | 3016 KB |
#include<bits/stdc++.h> #include "doll.h" using namespace std; using ll = long long; void create_circuit(int m, std::vector<int> arr) { vector<int> c(m+1); int n = arr.size(); int p = 0; for (int i : arr) { c[p] = i; p = i; } c[arr.back()] = 0; answer(c, {}, {}); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Correct | 16 ms | 2388 KB | Output is correct |
3 | Correct | 13 ms | 1960 KB | Output is correct |
4 | Correct | 1 ms | 296 KB | Output is correct |
5 | Correct | 8 ms | 1364 KB | Output is correct |
6 | Correct | 19 ms | 2908 KB | Output is correct |
7 | Correct | 1 ms | 212 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Correct | 16 ms | 2388 KB | Output is correct |
3 | Correct | 13 ms | 1960 KB | Output is correct |
4 | Correct | 1 ms | 296 KB | Output is correct |
5 | Correct | 8 ms | 1364 KB | Output is correct |
6 | Correct | 19 ms | 2908 KB | Output is correct |
7 | Correct | 1 ms | 212 KB | Output is correct |
8 | Incorrect | 19 ms | 3016 KB | wrong motion |
9 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 212 KB | Output is correct |
2 | Correct | 16 ms | 2388 KB | Output is correct |
3 | Correct | 13 ms | 1960 KB | Output is correct |
4 | Correct | 1 ms | 296 KB | Output is correct |
5 | Correct | 8 ms | 1364 KB | Output is correct |
6 | Correct | 19 ms | 2908 KB | Output is correct |
7 | Correct | 1 ms | 212 KB | Output is correct |
8 | Incorrect | 19 ms | 3016 KB | wrong motion |
9 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 300 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 296 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 296 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |