Submission #817427

# Submission time Handle Problem Language Result Execution time Memory
817427 2023-08-09T12:25:27 Z Pikachu Cluedo (IOI10_cluedo) C++17
0 / 100
0 ms 288 KB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"

using namespace std;

int ask(int x, int y, int z)
{
    cout << x << ' ' << y << ' ' << z << endl;
    int tmp;
    cin >> tmp;
    return tmp;
}

void Solve()
{
    int x = 1, y = 1, z = 1;
    while (int dak = ask(x, y, z)) {
        if (dak == 1) x++;
        else if (dak == 2) y++;
        else z++;
    }
}
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 288 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -