# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
361919 | 2021-02-01T06:58:38 Z | leinad2 | Mechanical Doll (IOI18_doll) | C++17 | 36 ms | 2224 KB |
#include "doll.h" #include<bits/stdc++.h> using namespace std; int i, j, k; void create_circuit(int M, vector<int>A) { vector<int>C(M+1), X, Y; C[0]=A[0]; A.push_back(0); for(i=0;i+1<A.size();i++) { C[A[i]]=A[i+1]; } answer(C, X, Y); return; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 31 ms | 1964 KB | Output is correct |
3 | Correct | 19 ms | 1576 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 12 ms | 1356 KB | Output is correct |
6 | Correct | 36 ms | 2224 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 31 ms | 1964 KB | Output is correct |
3 | Correct | 19 ms | 1576 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 12 ms | 1356 KB | Output is correct |
6 | Correct | 36 ms | 2224 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
8 | Incorrect | 27 ms | 2092 KB | wrong motion |
9 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 31 ms | 1964 KB | Output is correct |
3 | Correct | 19 ms | 1576 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 12 ms | 1356 KB | Output is correct |
6 | Correct | 36 ms | 2224 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
8 | Incorrect | 27 ms | 2092 KB | wrong motion |
9 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 2 ms | 204 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 204 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 204 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |