제출 #425105

#제출 시각아이디문제언어결과실행 시간메모리
425105Pbezz자동 인형 (IOI18_doll)C++14
2 / 100
32 ms3028 KiB
#include "doll.h" #include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back typedef pair<ll,ll> pii; const ll MAXN = 2e5+5; const ll INF = 1e9+7; void create_circuit(int M, std::vector<int> A) { int n = A.size(); std::vector<int> C(M + 1); C[0]=A[0]; for(ll i=0;i<n-1;i++){ C[A[i]]=A[i+1]; } C[A[n-1]]=0; std::vector<int> X(0), Y(0); 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...