# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
535132 | cig32 | Cluedo (IOI10_cluedo) | C++17 | 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 "cluedo.h"
#include "bits/stdc++.h"
using namespace std;
void Solve(){
int x=1,y=1,z=1;
while(x<=6 && y<=10 && z<=6){
int ret=Theory(x,y,z);
if(ret==0)break;
if(ret==1)x++;
else if(ret==2)y++;
else z++;
}
return;
}