# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
139259 | 2019-07-31T13:39:59 Z | wilwxk | 자동 인형 (IOI18_doll) | C++14 | 39 ms | 2180 KB |
#include "doll.h" #include <bits/stdc++.h> using namespace std; const int MAXN=2e5+5; vector<int> c, x, y; int n, m, respf; void debug() { for(auto cur : c) printf("%d ", cur); cout << endl; for(auto cur : x) printf("%d ", cur); cout << endl; for(auto cur : y) printf("%d ", cur); cout << endl; } void create_circuit(int M, std::vector<int> A) { n=A.size(); m=M; respf=1; c.resize(m+1); fill(c.begin(), c.end(), 0); int cur=0; for(int i=0; i<=n; i++) c[cur]=A[i], cur=A[i]; answer(c, x, y); }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 20 ms | 1972 KB | Output is correct |
3 | Correct | 16 ms | 1484 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 11 ms | 1356 KB | Output is correct |
6 | Correct | 39 ms | 2180 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 | 1972 KB | Output is correct |
3 | Correct | 16 ms | 1484 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 11 ms | 1356 KB | Output is correct |
6 | Correct | 39 ms | 2180 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
8 | Incorrect | 25 ms | 2096 KB | wrong motion |
9 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 204 KB | Output is correct |
2 | Correct | 20 ms | 1972 KB | Output is correct |
3 | Correct | 16 ms | 1484 KB | Output is correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Correct | 11 ms | 1356 KB | Output is correct |
6 | Correct | 39 ms | 2180 KB | Output is correct |
7 | Correct | 1 ms | 204 KB | Output is correct |
8 | Incorrect | 25 ms | 2096 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 | - |