Submission #432911

#TimeUsernameProblemLanguageResultExecution timeMemory
432911gonzakia29Cluedo (IOI10_cluedo)C++17
100 / 100
11 ms200 KiB
#include "grader.h"
#include "cluedo.h"

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