Submission #927220

# Submission time Handle Problem Language Result Execution time Memory
927220 2024-02-14T12:45:02 Z vjudge1 Cluedo (IOI10_cluedo) C++11
0 / 100
1 ms 512 KB
#include <bits/stdc++.h>
using namespace std;

int theorize(int m, int l, int w) {
    cout << m << ' ' << l << ' ' << w;
    int ans;
    cin >> ans;
    return ans;
}

void Solve() {
    for(int i = 1; i <= 6; i++) {
        for(int j = 1; j <= 10; j++) {
            for(int k = 1; k <= 6; k++) {
                if(theorize(i, j, k) == 0) return;
            }
        }
    }
}
# Verdict Execution time Memory Grader output
1 Execution timed out 1 ms 344 KB Time limit exceeded (wall clock)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 1 ms 512 KB Time limit exceeded (wall clock)
2 Halted 0 ms 0 KB -