Submission #643198

#TimeUsernameProblemLanguageResultExecution timeMemory
643198Trisanu_DasCluedo (IOI10_cluedo)C++17
100 / 100
14 ms288 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
 
void Solve(){
  int theory[3] = {1, 1, 1}; // current theory
  int i = Theory(theory[0], theory[1], theory[2]);
  while(i){
    theory[i - 1]++; //changing our theory according to report given
    i = Theory(theory[0], theory[1], theory[2]); 
  }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...