Submission #545595

#TimeUsernameProblemLanguageResultExecution timeMemory
545595GabrielCluedo (IOI10_cluedo)C++17
100 / 100
13 ms280 KiB
#include "cluedo.h"
#include "grader.h"
#include "bits/stdc++.h"
using namespace std;
void Solve(){
    long long a = 1;
    long long b = 1;
    long long c = 1;
    while(true){
        int d = Theory(a, b, c);
        switch(d){
            case 1:
            a++;
            break;
            case 2:
            b++;
            break;
            case 3:
            c++;
            break;
            case 0:
            return;
        }
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...