Submission #1297283

#TimeUsernameProblemLanguageResultExecution timeMemory
1297283the_commando_xCluedo (IOI10_cluedo)C++20
100 / 100
4 ms384 KiB
#include "grader.h"
#include "cluedo.h"

void Solve()
{
   int i = 1, j = 1, k = 1;
   while (true)
   {
      int wrong = Theory(i, j, k);
      switch (wrong)
      {
      case 0:
         return;
      case 1:
         ++i;
         break;
      case 2:
         ++j;
         break;
      case 3:
         ++k;
         break;
      }
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...