Submission #595627

#TimeUsernameProblemLanguageResultExecution timeMemory
595627Bench0310Cluedo (IOI10_cluedo)C++17
100 / 100
11 ms208 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"

using namespace std;
typedef long long ll;

void Solve()
{
    int a=1,b=1,c=1;
    while(1)
    {
        int t=Theory(a,b,c);
        if(t==0) break;
        if(t==1) a++;
        if(t==2) b++;
        if(t==3) c++;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...