Submission #419783

#TimeUsernameProblemLanguageResultExecution timeMemory
419783SuhaibSawalha1Mechanical Doll (IOI18_doll)C++17
2 / 100
26 ms2976 KiB
#include "doll.h" #include <bits/stdc++.h> using namespace std; void create_circuit(int M, vector<int> A) { int N = A.size(); vector<int> C(M + 1), X, Y; C[0] = A[0]; for (int i = 0; i < N - 1; ++i) { C[A[i]] = A[i + 1]; } 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...