# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
434265 | Icebear16 | Cluedo (IOI10_cluedo) | C++14 | 0 ms | 0 KiB |
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 "cluedo.h"
//#include "cluedo.cpp"
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
void solve(){
int n,i=1,k=1,j=1;
BEGIN:
n=Theory(i,k,j);
if(n==0){
return;
}else if(n==1){
i+=1;
goto BEGIN;
}else if(n==2){
k+=1;
goto BEGIN;
}else if(n==3){
j+=1;
goto BEGIN;
}
}