제출 #218295

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

void Solve(){
   int p=-1,c=1,u=1,a=1;
	while(p!=0)
    {
        p=Theory(c,u,a);
        if(p==1)
            c++;
        else
        {
            if(p==2)
                u++;
            else
            {
                a++;
            }
        }
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...