Submission #308976

#TimeUsernameProblemLanguageResultExecution timeMemory
308976BERNARB01Cluedo (IOI10_cluedo)C++17
100 / 100
11 ms384 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
  int i, j, k;
  i = j = k = 1;
  int r = Theory(i, j, k);
  while (r) {
    i += (r == 1);
    j += (r == 2);
    k += (r == 3);
    r = Theory(i, j, k);
  }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...