Submission #715498

# Submission time Handle Problem Language Result Execution time Memory
715498 2023-03-27T04:41:19 Z vjudge1 Cluedo (IOI10_cluedo) C++17
0 / 100
1000 ms 208 KB
   #include "grader.h"
   #include "cluedo.h"

   void Solve(){
      int a = 1, b = 1, c = 1;
      int r = Theory(a, b, c);
      if(r == 0) return;
      while(r != 0){
         if(r == 1){
            r = Theory(a + 1, b, c);
         }
         else if(r == 2){
            r = Theory(a, b + 1, c);
         }
         else if(r == 3){
            r = Theory(a, b, c + 1);
         }
         else{
            return;
         }
      }
   }
# Verdict Execution time Memory Grader output
1 Execution timed out 2796 ms 208 KB Time limit exceeded (wall clock)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 2818 ms 208 KB Time limit exceeded (wall clock)
2 Halted 0 ms 0 KB -