| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1357692 | avahw | 동굴 (IOI13_cave) | C++20 | 709 ms | 50716 KiB |
#include "cave.h"
#include <bits/stdc++.h>
using namespace std;
void exploreCave(int N) {
int up_down[N];
int ans[N];
for(int i = 0; i < N; i++) ans[i] = i;
for(int i = 0; i < N; i++) up_down[i] = 0;
// assume all door i is controlled by switch i
for(int i = 0; i < N; i++){
cout << "doing " << i << "\n";
int reach = tryCombination(up_down);
for(auto e : up_down) cout << e << " ";
cout << "\n";
if(reach <= i && reach != -1) up_down[i] = 1;
}
answer(up_down, ans);
}
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
