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"
#include <bits/stdc++.h>
using namespace std;
int qry(int a, int b, int c){
return Theory(a, b, c);
}
void Solve(){
int a = 1, b = 1, c = 1, q;
while ( (q = qry(a, b, c)) ){
if ( q == 1 ) a++;
else if ( q == 2 ) b++;
else c++;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |