#include "cave.h"
const int MAXN=5e3+3;
int S[MAXN];
int D[MAXN];
void exploreCave(int N) {
/* ... */
for(int i=0;i<N;i++){
S[i]=0;
D[i]=i+1;
}
int cev=tryCombination(S);
while(cev!=-1){
S[cev-1]=1;
cev=tryCombination(S);
}
answer(S,D);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
344 KB |
too much calls on tryCombination() |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
348 KB |
Answer is wrong |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Answer is wrong |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
348 KB |
Answer is wrong |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
344 KB |
too much calls on tryCombination() |
2 |
Halted |
0 ms |
0 KB |
- |