Submission #1322750

#TimeUsernameProblemLanguageResultExecution timeMemory
1322750akneekaCluedo (IOI10_cluedo)C++20
100 / 100
3 ms400 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;

void Solve(){

    int M = 1, L = 1, W = 1, ans;

    while (true){
        ans = Theory(M, L, W);

        if (ans == 0){return;}
        else if (ans == 1){M++;}
        else if (ans == 2){L++;}
        else if (ans == 3){W++;}
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...