Submission #571328

#TimeUsernameProblemLanguageResultExecution timeMemory
571328four_specksCluedo (IOI10_cluedo)C++17
100 / 100
10 ms212 KiB
#include "grader.h"
#include "cluedo.h"

#include <bits/stdc++.h>

using namespace std;

inline namespace ns
{
} // namespace ns

void Solve()
{
    array<int, 3> a = {0, 0, 0};
    while (1)
    {
        int r = Theory(a[0] + 1, a[1] + 1, a[2] + 1) - 1;
        if (r == -1)
            break;
        a[r]++;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...