제출 #1331065

#제출 시각아이디문제언어결과실행 시간메모리
1331065hectormedranoCluedo (IOI10_cluedo)C++20
100 / 100
3 ms412 KiB
#include <bits/stdc++.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
typedef long long ll;

void Solve(){
    ll a = 1;
    ll b = 1;
    ll c = 1;
   while(!((a==6 and c==6) and b==10)){
    ll r = Theory(a, b, c);
    if(r==0){return;}
    if(r==1){a++;}
    if(r==2){b++;}
    if(r==3){c++;}
   }
   Theory(6, 10, 6);
   return;
}

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