Submission #1099389

#TimeUsernameProblemLanguageResultExecution timeMemory
1099389andreiqwerCluedo (IOI10_cluedo)C++17
100 / 100
7 ms372 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...