Submission #521040

#TimeUsernameProblemLanguageResultExecution timeMemory
521040ColourAttilaCave (IOI13_cave)C++17
12 / 100
8 ms408 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 != -1;) { 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...