제출 #401976

#제출 시각아이디문제언어결과실행 시간메모리
401976IloveNCluedo (IOI10_cluedo)C++14
100 / 100
18 ms200 KiB
#include<bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"

using namespace std;
#define ll long long
#define pii pair<int,int>
#define pll pair<ll,ll>
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define eb emplace_back
#define all(vr) vr.begin(),vr.end()
#define vi vector<int>
#define vll vector<ll>
const int N = 1e5 + 10;

void Solve(){
   int x, y, z;
   x = y = z = 1;
   for (int i = 1; i <= 20; ++i)
   {
       int r = Theory(x,y,z);
       if (r == 0) return;
       if (r == 1) x++;
       if (r == 2) y++;
       if (r == 3) z++;
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...