# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
864231 | gutzzy | Cluedo (IOI10_cluedo) | C++14 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
void Solve(){
int murderer = 1;
int location = 1;
int weapon = 1;
int ans = Theory(murderer,location,weapon);
while(ans!=0){
if(ans==1) murderer++;
else if(ans==2) location++;
else weapon++;
ans = Theory(murderer,location,weapon);
}
return;
}