Submission #672902

#TimeUsernameProblemLanguageResultExecution timeMemory
672902ThegeekKnight16Cluedo (IOI10_cluedo)C++17
100 / 100
14 ms208 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve()
{
   int a = 1; int b = 1; int c = 1;
   int r = Theory(a, b, c);
   while (r)
   {
       if (r == 1) a++;
       if (r == 2) b++;
       if (r == 3) c++;
       r = Theory(a, b, c);
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...