Submission #390278

#TimeUsernameProblemLanguageResultExecution timeMemory
390278MilosMilutinovicCluedo (IOI10_cluedo)C++14
100 / 100
15 ms204 KiB
/**
 *    author:  milos
 *    created: 15.04.2021 20:03:19       
**/
#include <bits/stdc++.h>
#include "cluedo.h"
#include "grader.h"
 
using namespace std;
 
void Solve() {
  int x = 1, y = 1, z = 1;
  while (true) {
    int foo = Theory(x, y, z);
    if (foo == 0) break;
    if (foo == 1) x++;
    if (foo == 2) y++;
    if (foo == 3) z++;
  }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...