Submission #292621

#TimeUsernameProblemLanguageResultExecution timeMemory
292621AKaan37Mechanical Doll (IOI18_doll)C++17
2 / 100
37 ms2756 KiB
#include "doll.h" #include <bits/stdc++.h> using namespace std; typedef long long lo; typedef pair< lo,lo > PII; #define fi first #define se second #define mp make_pair #define endl "\n" #define pb push_back #define fio() ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL) #define FOR for(int i=1;i<=n;i++) #define mid ((start+end)/2) #define ort ((bas+son)/2) const lo inf = 1000000000000000000; const lo KOK = 100000; const lo LOG = 30; const lo li = 500005; const lo mod = 1000000007; int n,m,k,flag,t,git[li]; int cev; string s; vector<int> c,x,y; void create_circuit(int m, std::vector<int> a) { for(int i=0;i<(int)a.size()-1;i++){ git[a[i]]=a[i+1]; } git[0]=a[0]; for(int i=0;i<=m;i++){ c.pb(git[i]); } 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...