제출 #957314

#제출 시각아이디문제언어결과실행 시간메모리
957314hirayuu_ojCluedo (IOI10_cluedo)C++17
100 / 100
8 ms600 KiB
#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<n; i++)
#define rep2(i,a,b) for(int i=a; i<b; i++)
#define all(x) x.begin(),x.end()
using ll=long long;
#include "grader.h"
#include "cluedo.h"

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