Submission #313627

#TimeUsernameProblemLanguageResultExecution timeMemory
313627Dan4LifeCluedo (IOI10_cluedo)C++17
100 / 100
13 ms384 KiB
#include <bits/stdc++.h>
#include "cluedo.h"
#include "grader.h"
using namespace std;
 
void Solve()
{
    int i = 1, j = 1, k = 1, ans = 20;
    while(ans--)
    {
        int x = Theory(i, j, k);
        if(x==1) i++;
        if(x==2) j++;
        if(x==3) k++;
        if(x==0) return;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...