Submission #591684

#TimeUsernameProblemLanguageResultExecution timeMemory
591684MahtimursuCluedo (IOI10_cluedo)C++17
100 / 100
14 ms336 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
    int m = 1;
    int l = 1;
    int w = 1;

    while (true) {
        int r = Theory(m, l, w);
        if (r == 0) return;
        if (r == 1) m++;
        if (r == 2) l++;
        if (r == 3) w++;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...