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 ask = 1;
int ask2 = 1;
int ask3 = 1;
while(true) {
int k = Theory(ask, ask2, ask3);;
if(!k) {
return;
}
else if(k == 1) {
if(ask == 5) {
ask = 6;
continue;
}
ask++;
}
else if(k == 2) {
if(ask2 == 9) {
ask2 = 10;
continue;
}
ask2++;
}
else {
if(ask3 == 5) {
ask3 = 6;
continue;
}
ask3++;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |