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