Submission #823464

# Submission time Handle Problem Language Result Execution time Memory
823464 2023-08-12T14:33:49 Z 12345678 Mechanical Doll (IOI18_doll) C++17
2 / 100
16 ms 2220 KB
#include "doll.h"

void create_circuit(int M, std::vector<int> A) {
  int N = 0, cs=0;
  std::vector<int> C(M + 1);
  for (auto x:A)
  {
    C[cs]=x;
    cs=x;
  }
  std::vector<int> X(N), Y(N);
  answer(C, X, Y);
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 11 ms 1876 KB Output is correct
3 Correct 13 ms 1492 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 7 ms 1364 KB Output is correct
6 Correct 16 ms 2220 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 11 ms 1876 KB Output is correct
3 Correct 13 ms 1492 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 7 ms 1364 KB Output is correct
6 Correct 16 ms 2220 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
8 Incorrect 14 ms 2036 KB wrong motion
9 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 11 ms 1876 KB Output is correct
3 Correct 13 ms 1492 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 7 ms 1364 KB Output is correct
6 Correct 16 ms 2220 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
8 Incorrect 14 ms 2036 KB wrong motion
9 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB wrong motion
2 Halted 0 ms 0 KB -