#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++;
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
0 ms |
288 KB |
Execution killed with signal 13 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
0 ms |
208 KB |
Execution killed with signal 13 |
2 |
Halted |
0 ms |
0 KB |
- |