Submission #493750

#TimeUsernameProblemLanguageResultExecution timeMemory
493750ahmeterenCluedo (IOI10_cluedo)C++17
100 / 100
14 ms276 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"

using namespace std;

void Solve()
{
    int a, b, c;
    a = b = c = 1;

    while(true)
    {
        int x = Theory(a, b, c);

        if(x == 1)
            a++;
        else if(x == 2)
            b++;
        else if(x == 3)
            c++;
        else
            return ;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...