# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
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;
}
}