Submission #782253

#TimeUsernameProblemLanguageResultExecution timeMemory
782253Minindu206Cave (IOI13_cave)C++14
0 / 100
9 ms408 KiB
#include "cave.h" #include <bits/stdc++.h> using namespace std; void exploreCave(int n) { int sw[n], st[n], temp[n]; for (int i = 0; i < n; i++) st[i] = 0, sw[i] = -1; int cc = tryCombination(st); for (int i = 0; i < n; i++) { temp[i] = 1; cc = tryCombination(temp); sw[i] = cc; temp[i] = 0; } answer(st, sw); }
#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...