Submission #545591

#TimeUsernameProblemLanguageResultExecution timeMemory
545591jam_xd_Cluedo (IOI10_cluedo)C++17
100 / 100
11 ms208 KiB
#include "bits/stdc++.h"
#include "grader.h"
#include "cluedo.h"

using namespace std;
 
void Solve(){
   int murderer = 1, location = 1, weapon = 1;
   int wrong = -1;
  
  while(wrong != 0){
    wrong = Theory(murderer, location, weapon);
    if(wrong == 1)murderer++;
    if(wrong == 2)location++;
    if(wrong == 3)weapon++;
  }
 return;  
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...