| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 311548 | amunduzbaev | 자동 인형 (IOI18_doll) | C++14 | 0 ms | 0 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
//#include "grader.cpp"
#include "doll.h"
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int N=1e5+5;
void create_circuit(int m, vector<int> a) {
vector<ll> way(m+1 ,0), x, y;
way[0]=a[0];
for(int i=0;i<m-1;i++) way[a[i]]=a[i+1];
answer(way,x,y);
}
/*
9 9
2 9 8 1 3 7 6 4 5
*/
