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 call(int a1,int a2,int a3)
{
return Theory(a1, a2, a3);
}
void Solve(){
int ida=1;
int idb=1;
int idc=1;
while (true)
{
int r=call(ida,idb,idc);
if (r==0)
{
return;
}
if (r==1)
{
ida++;
}
else if (r==2)
{
idb++;
}
else
{
idc++;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |