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 r, i, j, k, a[11], b[11], c[11];
for(i = 1; i < 10; i++)
a[i] = 0, b[i] = 0, c[i] = 0;
for(i = 1; i < 7; i++)
{
if(a[i]) continue;
for(j = 1; j < 11; j++)
{
if(b[j]) continue;
for(k = 1; k < 7; k++)
{
if(c[k]) continue;
r = Theory(i, j, k);
if (!r) return;
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |