Submission #1264743

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

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