#include "cave.h"
#include <bits/stdc++.h>
using namespace std;
void exploreCave(int n) {
// SUBTASK 1
int idx = 0, a[n] = {}, b[n];
for (int i = 0; i < n; i++) b[i] = i;
while ((idx = tryCombination(a)) != -1) {
a[idx] = 1;
}
answer(a, b);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |