Submission #650776

#TimeUsernameProblemLanguageResultExecution timeMemory
650776LitusianoCave (IOI13_cave)C++14
12 / 100
18 ms444 KiB
#include "cave.h" #include<bits/stdc++.h> using namespace std; //#define int long long void exploreCave(int N) { /* ... */ int v[N]; for(int i = 0; i<N; i++){ v[i] = 0; } for(int i = 0; i<N; i++){ if(tryCombination(v) == i){ v[i]^=1; } } int s[N]; for(int i = 0; i<N; i++) s[i] = i; answer(v,s); //for(int i = 0; i<N; i++) cout<<v[i]<<" "; cout<<endl; //for(int i = 0; i<N; i++) cout<<s[i]<<" "; cout<<endl; return; }
#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...