Submission #521036

#TimeUsernameProblemLanguageResultExecution timeMemory
521036ColourAttilaCave (IOI13_cave)C++17
0 / 100
3 ms332 KiB
#include <bits/stdc++.h> #include "cave.h" using namespace std; void exploreCave(int n) { /*int a[] = {1, 1, 1, 0}; int b[] = {3, 1, 0, 2}; answer(a, b);*/ int a[n], b[n]; for(int i = 0; i < n; i++) { a[i] = 0; b[i] = i; } for(int i = tryCombination(a); i < n; i++) { a[i] = 1 - a[i]; i = tryCombination(a); } answer(a, b); }
#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...