Submission #1062287

#TimeUsernameProblemLanguageResultExecution timeMemory
1062287BraulinhoCluedo (IOI10_cluedo)C++17
100 / 100
7 ms344 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;
#define ll long long

void Solve(){
    int m = 1, l = 1, w = 1;

    while(true) {
        int theo = Theory(m,l,w);

        if(theo == 0) {
            return;
        }

        if(theo == 1) {
            m++;
        }

        if(theo == 2) {
            l++;
        }

        if(theo == 3) {
            w++;
        }
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...