# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
730165 | 2023-04-25T11:22:51 Z | t6twotwo | Mechanical Doll (IOI18_doll) | C++17 | 0 ms | 212 KB |
#include "doll.h" #include <bits/stdc++.h> using namespace std; void create_circuit(int M, vector<int> A) { int N = A.size(); vector<int> C(M + 1, -1), X(31), Y(31); for (int i = 0; i < 15; i++) { X[i] = -2 * (i + 1); Y[i] = -2 * (i + 1) - 1; } for (int i = 15; i < 31; i++) { Y[i] = -1; } Y[30] = 0; X[15] = A[0]; X[16] = A[8]; X[17] = A[4]; X[18] = A[12]; X[19] = A[2]; X[20] = A[10]; X[21] = A[6]; X[22] = A[14]; X[23] = A[1]; X[24] = A[9]; X[25] = A[5]; X[26] = A[13]; X[27] = A[3]; X[28] = A[11]; X[29] = A[7]; X[30] = A[15]; answer(C, X, Y); }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | wrong serial number |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | wrong serial number |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | wrong serial number |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | Output isn't correct |
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 | - |