제출 #162768

#제출 시각아이디문제언어결과실행 시간메모리
162768Minnakhmetov자동 인형 (IOI18_doll)C++14
2 / 100
25 ms2252 KiB
#include "doll.h" #include<bits/stdc++.h> using namespace std; #define all(aaa) aaa.begin(), aaa.end() void create_circuit(int m, vector<int> a) { int n = a.size(); vector<int> tot(m + 1), tosx, tosy; tot[0] = a[0]; tot[a[n - 1]] = 0; for (int i = 0; i < n - 1; i++) { tot[a[i]] = a[i + 1]; } answer(tot, tosx, tosy); }
#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...