Submission #274909

#TimeUsernameProblemLanguageResultExecution timeMemory
274909ec1117Cluedo (IOI10_cluedo)C++17
100 / 100
12 ms416 KiB
#include "bits/stdc++.h"
#include "grader.h"
#include "cluedo.h"
using namespace std;
int t;

void Solve() {
    int a=1;
    int b=1;
    int c=1;
    while(true){
        int tmp=Theory(a,b,c);
        if(tmp==0){
            break;
        }
        else if(tmp==1){
            a++;
        }
        else if(tmp==2){
            b++;
        }
        else{
            c++;
        }
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...