# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
244046 | 2020-07-02T13:56:46 Z | crossing0ver | 자동 인형 (IOI18_doll) | C++17 | 32 ms | 2228 KB |
#include<bits/stdc++.h> #define vi vector<int> #define fi first #define se second //#define local #ifndef local #include "doll.h" #endif using namespace std; void create_circuit(int M, vi A) { int N = A.size(); vi C(M + 1); int num = 0; C[0] = A[0]; for (int i = 0; i < N; ++i) { if (i != N-1) C[A[i]] = A[i+1]; else C[A[i]] = 0; //C[A[i]] = ( A[i+1] : 0); } vector<int> X, Y; answer(C, X, Y); }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 20 ms | 1868 KB | Output is correct |
3 | Correct | 20 ms | 1584 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 14 ms | 1356 KB | Output is correct |
6 | Correct | 32 ms | 2228 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 20 ms | 1868 KB | Output is correct |
3 | Correct | 20 ms | 1584 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 14 ms | 1356 KB | Output is correct |
6 | Correct | 32 ms | 2228 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
8 | Incorrect | 26 ms | 2092 KB | wrong motion |
9 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 20 ms | 1868 KB | Output is correct |
3 | Correct | 20 ms | 1584 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 14 ms | 1356 KB | Output is correct |
6 | Correct | 32 ms | 2228 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
8 | Incorrect | 26 ms | 2092 KB | wrong motion |
9 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 204 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 204 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 204 KB | wrong motion |
2 | Halted | 0 ms | 0 KB | - |