Submission #598775

#TimeUsernameProblemLanguageResultExecution timeMemory
598775HanksburgerCluedo (IOI10_cluedo)C++17
100 / 100
12 ms240 KiB
#include "cluedo.h"
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
void Solve()
{
    int a=1, b=1, c=1, x=Theory(1, 1, 1);
    while (x)
    {
        if (x==1)
            a++;
        else if (x==2)
            b++;
        else
            c++;
        x=Theory(a, b, c);
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...