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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "grader.h"
#include "cluedo.h"
void Solve()
{
int i=0, j=0, k=0;
int t=Theory(i+1, j+1, k+1);
while(t!=0)
{
if(t==1)
i++;
if(t==2)
j++;
if(t==3)
k++;
i%=6;
j%=10;
k%=6;
t=Theory(i+1, j+1, k+1);
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |