Submission #206956

#TimeUsernameProblemLanguageResultExecution timeMemory
206956joylintpCluedo (IOI10_cluedo)C++17
100 / 100
18 ms424 KiB
#include "grader.h"
#include "cluedo.h"
#include<bits/stdc++.h>
using namespace std;

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