This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 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... |