Submission #696459

#TimeUsernameProblemLanguageResultExecution timeMemory
696459stevancvCluedo (IOI10_cluedo)C++14
100 / 100
13 ms292 KiB
#include <bits/stdc++.h>
#include "cluedo.h"
#include "grader.h"
using namespace std;
void Solve() {
    int a, b, c;
    a = b = c = 1;
    while (1) {
        int x = Theory(a, b, c);
        if (x == 0) return;
        if (x == 1) a += 1;
        if (x == 2) b += 1;
        if (x == 3) c += 1;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...