# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
474020 | ValiAntonie | 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.
void Solve(){
int r, a = 1, b = 1, c= 1;
for(int i=1;i<=3;i++){
r = Theory(a,b,c);
while(r == 1){
a++;
r = Theory(a,b,c);
}
while(r == 2){
b++;
r = Theory(a,b,c);
}
while(r == 3){
c++;
r = Theory(a,b,c);
}
if (r == 0){
return;
}
}
}