제출 #1267531

#제출 시각아이디문제언어결과실행 시간메모리
1267531ti24dung_ntCluedo (IOI10_cluedo)C++20
100 / 100
3 ms392 KiB
#include "grader.h"
#include "cluedo.h"

void Solve()
{
    int murd = 1, loca = 1, weap = 1;
    while(true)
    {
        int type;
        type = Theory(murd,loca,weap);
        
        if(type == 0) return;
        else if(type == 1) ++murd;
        else if(type == 2) ++loca;
        else ++weap;

        if (murd > 6 || loca > 10 || weap > 6) return;
    }

}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...