Submission #715511

#TimeUsernameProblemLanguageResultExecution timeMemory
715511vjudge1Cluedo (IOI10_cluedo)C++17
100 / 100
17 ms208 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve(){
   int r;
   int m=1,l=1,w=1;
   while (true){
      r = Theory(m,l,w);
      if (r == 0) return;
      if (r == 1) m++;
      if (r == 2) l++;
      if (r == 3) w++;
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...