Submission #1187640

#TimeUsernameProblemLanguageResultExecution timeMemory
1187640nagorn_phCluedo (IOI10_cluedo)C++20
100 / 100
3 ms408 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"

void Solve(){
    int a = 1, b = 1, c = 1;
    int r = Theory(a, b, c);
    while (r) {
        if (r == 1) a++;
        if (r == 2) b++;
        if (r == 3) c++;
        r = Theory(a, b, c);
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...