| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1310680 | gabrielz | 동굴 (IOI13_cave) | C++20 | 0 ms | 0 KiB |
#include "cave.h"
#include <bits/stdc++.h>
using namespace std;
void exploreCave(int N) {
vector<int> truth;
for (int i = 0; i < N; ++i) {
for (int j = 0; j < N; ++j) {
if (i == tryCombination(j)) {
truth.push_back(j);
}
}
}
for (auto& it : truth) {
cout << it << ' ';
}
}
