Submission #230282

# Submission time Handle Problem Language Result Execution time Memory
230282 2020-05-09T13:28:07 Z Amy313 Cave (IOI13_cave) C++14
0 / 100
5 ms 384 KB
#include "cave.h"
using namespace std;
void exploreCave(int N) {
    int S[N];
    int D[N];
    for(int i=0; i<N; i++)
	{
		S[i] = 0;
		D[i] = 1;
	}
	for(int i=0; i<N; i++)
	{
		int x =tryCombination(S);
		if(x==-1){break;}
		if(x==i){S[i]=i;}
	}
	answer(S, D);
}
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 384 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 384 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 256 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 256 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 384 KB Answer is wrong
2 Halted 0 ms 0 KB -