Submission #474002

# Submission time Handle Problem Language Result Execution time Memory
474002 2021-09-16T15:24:03 Z ValiAntonie Cluedo (IOI10_cluedo) C++14
0 / 100
1 ms 200 KB
#include "grader.h"
#include "cluedo.h"

void Solve(){
   int r, a = 1, b = 1, c = 1, ok = 0;
   while(ok != 1){
   r = Theory(a,b,c);
   while(r == 1 && a <= 6){
    a++;
   }
   while(r == 2 && b <= 10){
    b++;
   }
   while(r == 3 && c <= 6){
    c++;
   }
   if(r == 0){
   ok = 1;
   return;
   }
   }
}
# Verdict Execution time Memory Grader output
1 Failed 1 ms 200 KB wrong parameter
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Failed 1 ms 200 KB wrong parameter
2 Halted 0 ms 0 KB -