| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1291573 | hssaan_arif | Cave (IOI13_cave) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
#include "cave.h"
using namespace std;
#define endl "\n"
#define pb push_back
#define int long long
#define fi first
#define se second
const int N = 3e5 + 5, M = 1e9 + 7, LG = 20;
int n , A[N] , y , k;
void exploreCave(int N) {
int S[N] = {} , D[N] = {};
for (int i=0 ; i<n ; i++){
int u = tryCombination(S);
if (u == -1 || u >= i){
continue;
}else{
S[i] = 1;
}
}
answer(S , D);
}
