Submission #1165267

#TimeUsernameProblemLanguageResultExecution timeMemory
1165267ind1vCluedo (IOI10_cluedo)C++17
100 / 100
3 ms408 KiB
#include <bits/stdc++.h>
#include "cluedo.h"
#include "grader.h"

using namespace std;

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