Submission #567624

#TimeUsernameProblemLanguageResultExecution timeMemory
567624losmi247Cluedo (IOI10_cluedo)C++14
100 / 100
12 ms208 KiB
#include <bits/stdc++.h>
#include "cluedo.h"
#include "grader.h"
using namespace std;
typedef long long ll;

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