제출 #1223596

#제출 시각아이디문제언어결과실행 시간메모리
1223596islam_2010Cluedo (IOI10_cluedo)C++20
0 / 100
0 ms416 KiB
#include"grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;




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

    while(true){
        int a = Theory(m, l, w);
        if(!a) return;

        if(a==1){
            m++;

        }else {
            break;
        }
        
    }while (true){
        int a = Theory(m, l, w);
        if(!a) return;

        if(a==2){
            l++;

        }else {
            break;
        }
    }while (true){
        int a = Theory(m, l, w);
        if(!a) return;

        if(a==3){
            w++;

        }else {
            break;
        }
    }Theory(m, l, w);
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...