Submission #1083075

# Submission time Handle Problem Language Result Execution time Memory
1083075 2024-09-02T12:45:06 Z erdemfurkan Cave (IOI13_cave) C++14
0 / 100
1 ms 348 KB
#include "cave.h"

void exploreCave(int N) {
    int S[N] = {};
    int bozuk = tryCombination(S);
    int D[N];
    for(int i = 0; i < N; i++) {
        D[i] = i;
    }
    for(int i = 0; i < N; i++) {
        if(i == bozuk) {
            S[i] = 0;
            continue;
        }
        S[i] = 1;
    }
    answer(S, D);
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Answer is wrong
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Answer is wrong
2 Halted 0 ms 0 KB -