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 <bits/stdc++.h>
using namespace std;
#ifndef ARTHUR_LOCAL
#include "cave.h"
#endif
void exploreCave(int n)
{
int D[n]; // we need to answer these
for(int i=0; i<n; i++) D[i]=i;
int combo[n];
for(int i=0; i<n; i++)
{
int cur = tryCombination(combo);
if(cur==i) combo[i]=1-combo[i];
}
answer(combo, D);
}
# | 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... |