Submission #222036

#TimeUsernameProblemLanguageResultExecution timeMemory
222036mathking1021Cluedo (IOI10_cluedo)C++11
100 / 100
16 ms384 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
    int a[5] = {0, 1, 1, 1};
    while(1)
    {
        int t = Theory(a[1], a[2], a[3]);
        if(t == 0) return;
        a[t]++;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...