Submission #1175124

#TimeUsernameProblemLanguageResultExecution timeMemory
1175124khunnapachCluedo (IOI10_cluedo)C++20
100 / 100
3 ms392 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
   int M=1, L=1, W=1;
   int r = -1;
   while (r != 0) {
      r = Theory(M, L, W);
      if (r == 1) {
         M++;
      }
      else if (r == 2) {
         L++;
      }
      else if (r == 3) {
         W++;
      }
   }
   return;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...