제출 #128488

#제출 시각아이디문제언어결과실행 시간메모리
128488Just_Solve_The_Problem자동 인형 (IOI18_doll)C++11
2 / 100
25 ms2216 KiB
#include <bits/stdc++.h> #include "doll.h" //#include "grader.cpp" using namespace std; void create_circuit(int M, vector<int> A) { int N = A.size(); vector<int> C(M + 1); vector<int> X, Y; C[0] = A[0]; for (int i = 1; i < N; i++) { C[A[i - 1]] = A[i]; } C[A.back()] = 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...