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 i=1,j=1,k=1,chk;
while(1)
{
chk=Theory(i,j,k);
if(chk==0)
{
return;
}
if(chk==1)
{
i++;
if(i>6) i-=6;
}
if(chk==2)
{
j++;
if(j>10) j-=10;
}
if(chk==3)
{
k++;
if(k>6) k-=6;
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |