Submission #342613

#TimeUsernameProblemLanguageResultExecution timeMemory
342613AlmaCluedo (IOI10_cluedo)C++14
100 / 100
17 ms364 KiB
#include <iostream>
#include <cluedo.h>
#include <grader.h>
using namespace std;

void Solve () {
    int M = 1; int L = 1; int W = 1;
    int a = Theory (M, L, W);
    while (a != 0) {
        if (a == 1) { M++; }
        else if (a == 2) { L++; }
        else { W++; }
        a = Theory (M, L, W);
    } return;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...