Submission #1011277

#TimeUsernameProblemLanguageResultExecution timeMemory
1011277SulACluedo (IOI10_cluedo)C++17
100 / 100
7 ms596 KiB
#include "grader.h"
#include "cluedo.h"
using namespace std;

void Solve() {
    int ch = 1, room = 1, weapon = 1;
    for (int q = 0; q < 20; q++) {
        int x = Theory(ch, room, weapon);
        if (x == 0) return;
        if (x == 1) ch++;
        if (x == 2) room++;
        if (x == 3) weapon++;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...