# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1267020 | ti24dung_nt | Cluedo (IOI10_cluedo) | C++20 | 0 ms | 0 KiB |
#include<bits/stdc++.h>
using namespace std;
void Solve()
{
int murd = 1, loca = 1, weap = 1;
while(true)
{
cout << "Theory(" << murd << ", " << loca << ", " << weap << ")" << endl;
cout.flush();
int type;
cin >> type;
if(type == 0) return 0;
else if(type == 1) ++murd;
else if(type == 2) ++loca;
else ++weap;
}
}