# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1164528 | tsengang | 동굴 (IOI13_cave) | C++20 | 0 ms | 0 KiB |
#include<bits/stdc++.h>
#include "cave.h"
using namespace std;
#define ll long long
#define ff first
#define ss second
#define all(x) (x).begin(), (x).end()
#define pb push_back
#define ertunt return
#define vodka void
void exploreCave(int n){
vector<int>v(n,0);
vector<int>d(n);
iota(all(d),0);
for(int i = 0; i < n; i++){
int x = tryCombination(v);
if(i == x)v[i] = 1;
}
answer(v,d);
}