제출 #367332

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

void Solve(){
   int as = 1, l = 1, a = 1, pista;
   
   while(true){
       pista = Theory(as,l,a);
       
        if(pista == 0){
            return;
        }
        else{
            if(pista == 1){
              as++;  
            }
            else if(pista == 2){
              l++;
            }
            else if(pista == 3){
              a++;
            }
        }
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...