답안 #81030

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
81030 2018-10-23T14:38:20 Z arman_ferdous 동굴 (IOI13_cave) C++17
12 / 100
21 ms 460 KB
#include <bits/stdc++.h>
#include "cave.h"
using namespace std;

void exploreCave(int N) {
    int S[N], D[N];

    for(int i = 0; i < N; i++)
    	D[i] = i;

    memset(S,0,sizeof S);
    for(;;) {
    	int door = tryCombination(S);
    	if(door == -1) break;
    	S[door] = 1;
    }
    answer(S,D);
}
# 결과 실행 시간 메모리 Grader output
1 Correct 7 ms 384 KB Output is correct
2 Correct 17 ms 384 KB Output is correct
3 Correct 21 ms 384 KB Output is correct
4 Correct 13 ms 452 KB Output is correct
5 Correct 6 ms 384 KB Output is correct
6 Correct 15 ms 384 KB Output is correct
7 Correct 7 ms 384 KB Output is correct
8 Correct 5 ms 436 KB Output is correct
9 Correct 5 ms 384 KB Output is correct
10 Correct 5 ms 256 KB Output is correct
11 Correct 5 ms 368 KB Output is correct
12 Correct 14 ms 384 KB Output is correct
13 Correct 14 ms 452 KB Output is correct
14 Correct 13 ms 460 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 6 ms 384 KB Output is correct
2 Correct 5 ms 256 KB Output is correct
3 Incorrect 7 ms 384 KB Answer is wrong
4 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 256 KB Output is correct
2 Correct 5 ms 256 KB Output is correct
3 Incorrect 5 ms 256 KB Answer is wrong
4 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 256 KB Output is correct
2 Correct 5 ms 256 KB Output is correct
3 Incorrect 5 ms 256 KB Answer is wrong
4 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 7 ms 384 KB Output is correct
2 Correct 17 ms 384 KB Output is correct
3 Correct 21 ms 384 KB Output is correct
4 Correct 13 ms 452 KB Output is correct
5 Correct 6 ms 384 KB Output is correct
6 Correct 15 ms 384 KB Output is correct
7 Correct 7 ms 384 KB Output is correct
8 Correct 5 ms 436 KB Output is correct
9 Correct 5 ms 384 KB Output is correct
10 Correct 5 ms 256 KB Output is correct
11 Correct 5 ms 368 KB Output is correct
12 Correct 14 ms 384 KB Output is correct
13 Correct 14 ms 452 KB Output is correct
14 Correct 13 ms 460 KB Output is correct
15 Correct 6 ms 384 KB Output is correct
16 Correct 5 ms 256 KB Output is correct
17 Incorrect 7 ms 384 KB Answer is wrong
18 Halted 0 ms 0 KB -