Submission #523593

#TimeUsernameProblemLanguageResultExecution timeMemory
523593dron_rpCluedo (IOI10_cluedo)C++14
100 / 100
12 ms272 KiB
#include "grader.h"
#include "cluedo.h"

using namespace std;

void Solve(){
    int m = 1, l = 1, w = 1;
    int r = Theory(m, l, w);
    while (r != 0){
        if (r == 1){
            m++;
        } else if (r == 2){
            l++;
        } else{
            w++;
        }
        r = Theory(m, l, w);
    }
    return;
}  
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...