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 "grader.h"
#include "cluedo.h"
void Solve(){
int r, a = 1, b = 1, c= 1;
r = Theory(a,b,c);
if (r == 0) return;
else{
while(true){
r = Theory(a,b,c);
if(r==1) a++;
else if(r==2) b++;
else if(r==3) c++;
else return;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |