Submission #1130109

#TimeUsernameProblemLanguageResultExecution timeMemory
1130109mnbvcxz123Cluedo (IOI10_cluedo)C++20
100 / 100
5 ms412 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>

using namespace std;

void Solve(){
    int mur=1, loc=1, wea=1;
    while(mur<=6 and loc<=10 and wea<=6){
        int q=Theory(mur, loc, wea);
        if(q==1){
            mur++;
        }
        else if(q==2){
            loc++;
        }
        else{
            wea++;
        }
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...