# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
101912 | iris2617 | 자동 인형 (IOI18_doll) | C++14 | 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<iostream>
#include<doll.h>
using namespace std;
void create_circuit(int M,int[] A)
{
int i,b;
int c[10],x[10],y[10];
for(i=0,b=0;i<M;i++)
{
c[b]=A[i];
b=A[i];
}
c[b]=0;
answer(c,x,y);
}