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 "doll.h"
#include<bits/stdc++.h>
using namespace std;
int a,b,c,d,e,i,j,ii,jj,zx,xc,N,M;
vector <int> A,C,X,Y;
void create_circuit(int M, vector<int> AA) {
N=AA.size();
for(i=0; i<N; i++){
A.push_back(AA[i]);
}
C.resize(M+1);
C[0]=A[0];
for(i=0; i<M-1; i++){
C[A[i]]=A[i+1];
}
C[M]=0;
answer(C,X,Y);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |