제출 #585518

#제출 시각아이디문제언어결과실행 시간메모리
585518LIF자동 인형 (IOI18_doll)C++14
2 / 100
21 ms3000 KiB
#include "doll.h" #include<bits/stdc++.h> void create_circuit(int M, std::vector<int> A) { int N = A.size(); std::vector<int> x,y; std::vector<int> c(M+1); int n = N; std::vector<int> node[1005]; c[0] = A[0]; for(int i=0; i<=n-2; i++) { int xx = A[i]; c[xx] = A[i+1]; } c[A[n-1]] = 0; answer(c,x,y); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...