Submission #607650

#TimeUsernameProblemLanguageResultExecution timeMemory
607650jairRSCave (IOI13_cave)C++17
13 / 100
12 ms420 KiB
#include "cave.h" #include <bits/stdc++.h> using namespace std; using vi = vector<int>; const int MAXN = 5'000; int switches[MAXN]; // door triggered by switchID int door[MAXN]; void exploreCave(int N) { for (int curSearching = 0; curSearching < N; curSearching++) { switches[curSearching] = 1; door[curSearching] = tryCombination(switches); switches[curSearching] = 0; } answer(switches, door); }
#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...