Submission #957657

# Submission time Handle Problem Language Result Execution time Memory
957657 2024-04-04T07:08:03 Z AC2K Cluedo (IOI10_cluedo) C++17
0 / 100
0 ms 344 KB
#include "cluedo.h"
#include "grader.h"

void Solve() {
    int ans_x = 0, ans_y = 0, ans_z = 0;

    while (1) {
        int res = Theory(ans_x, ans_y, ans_z);
        if (res == 0) {
            return;
        }
        if (res == 1) {
            ++ans_x;
        }
        if (res == 2) {
            ++ans_y;
        }
        if (res == 3) {
            ++ans_z;
        }
    }
}
# Verdict Execution time Memory Grader output
1 Failed 0 ms 344 KB wrong parameter
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Failed 0 ms 344 KB wrong parameter
2 Halted 0 ms 0 KB -