Submission #883301

#TimeUsernameProblemLanguageResultExecution timeMemory
883301kleeCluedo (IOI10_cluedo)C++14
100 / 100
6 ms600 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
void Solve()
{
  int r = -1; int m = 1; int l = 1; int w = 1;
  r = Theory(m,l,w);
  while (r > 0) {
    if (r == 1) m++;
    if (r == 2) l++;
    if (r == 3) w++;
    r = Theory(m,l,w);
  }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...