# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1020839 | Zicrus | Mechanical Doll (IOI18_doll) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
void create_circuit(int M, vector<int> A) {
A.push_back(0);
vector<int> C(M+1);
int prev = 0;
for(auto &e : A) {
C[prev] = e;
prev = e;
}
answer(C, {}, {});
return;
}