Submission #286087

#TimeUsernameProblemLanguageResultExecution timeMemory
286087mohammadMechanical Doll (IOI18_doll)C++14
2 / 100
32 ms2220 KiB
#include "doll.h" #include<bits/stdc++.h> using namespace std; #define endl "\n" // #define int long long typedef long long ll ; const ll ooo = 1e14 ; const ll oo = 2e9 ; const double PI = acos(-1) ; const ll M = 1e9 + 7 ; const int N = 10000010 ; void create_circuit(int M, vector<int> A) { int N = A.size(); vector<int> c(M + 1 , 0); for(int i = 0 ; i < N ; ++i){ if(!i) c[0] = A[i]; else c[A[i - 1]] = A[i]; } 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...