# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
727942 | Elvin_Fritl | Cave (IOI13_cave) | C++17 | 0 ms | 0 KiB |
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 v[n];
memset(v,0,sizeof(v));
int res[n];
for(int i=0;i<n;i++){
v[i]=1;
int k=tryCombination(v);
res[v]=i;
v[i]=0;
}
answer(v,res);
}