Submission #800771

# Submission time Handle Problem Language Result Execution time Memory
800771 2023-08-01T20:19:02 Z biank Mechanical Doll (IOI18_doll) C++14
2 / 100
16 ms 2220 KB
#include "doll.h"

using namespace std;

#define SIZE(x) (int)x.size()

void create_circuit(int M, vector<int> A) {
  int N = SIZE(A);
  vector<int> C(M + 1);
  int k = 0;
  for (int i=0; i<N; i++) {
	  C[k] = A[i];
	  k = A[i];
  }
  answer(C, {}, {});
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 13 ms 1876 KB Output is correct
3 Correct 10 ms 1492 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 6 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 13 ms 1876 KB Output is correct
3 Correct 10 ms 1492 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 6 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 15 ms 2004 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 13 ms 1876 KB Output is correct
3 Correct 10 ms 1492 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 6 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 15 ms 2004 KB wrong motion
9 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 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 -