Submission #545590

# Submission time Handle Problem Language Result Execution time Memory
545590 2022-04-04T23:43:43 Z jam_xd_ Cluedo (IOI10_cluedo) C++17
0 / 100
1 ms 208 KB
#include "grader.h"
#include "cluedo.h"
#include "bits/stdc++.h"

using namespace std;

void Solve(){
   int murderer, location, weapon; murderer = location = weapon = 1;
   int wrong = -1;
  
  while(wrong != 0){
    wrong = Theory(murderer, location, weapon);
    if(wrong == 1)wrong++;
    if(wrong == 2)location++;
    if(wrong == 3)weapon++;
  }
 return;  
}
# Verdict Execution time Memory Grader output
1 Failed 0 ms 208 KB wrong parameter
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Failed 1 ms 208 KB wrong parameter
2 Halted 0 ms 0 KB -