# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
537076 | lalig777 | 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.
int Solve (int a, int b, int c){
if (Theory(a,b,c)==1) return Solve (a+1, b, c);
else if (Theory(a,b,c)==2) return Solve (a, b+1, c);
else if (Theory(a,b,c)==3) return Solve (a, b, c+1);
else return a, b, c;
}