# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1164591 | crispxx | 동굴 (IOI13_cave) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
#define all(x) x.begin(), x.end()
#define eb emplace_back
#define pb push_back
#define ar array
#define nl '\n'
#include "cave.h"
#include "grader.c"
void exploreCave(int n) {
int S[n]{}, D[n];
for(int i = 0; i < n; i++) {
D[i] = i;
if(tryCombination(S) == i) {
S[i] = 1;
}
}
answer(S, D);
}