# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
992927 | vjudge1 | 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<bits/stdc++.h>
#include "cave.h"
using namespace std;
void exploreCave(int n) {
int s[n] = {}, d[n] = {};
iota(d, d + n);
for (int i = 0; i < n; i++)
s[i] = tryCombination(s) == i;
answer(s, d);
return ;
}