Submission #501435

#TimeUsernameProblemLanguageResultExecution timeMemory
501435aryan12Cluedo (IOI10_cluedo)C++17
100 / 100
16 ms288 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

void Solve() {
   int a[3] = {1, 1, 1};
   while(true) {
      int reply = Theory(a[0], a[1], a[2]);
      if(reply == 0) {
         return;
      }
      a[reply - 1]++;
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...