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 <iostream>
#include <vector>
#include <algorithm>
#include <cassert>
#include <cstdio>
#include <cluedo.h>
#include <grader.h>
using namespace std;
#define pb push_back
#define a first
#define b second
void Solve(){
int i=1;
int j=1;
int k=1;
while(true){
int xx=Theory(i,j,k);
if(xx==0){
return;
}
if(xx==1){
i+=1;
}
if(xx==2){
j+=1;
}
if(xx==3){
k+=1;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |