Submission #754857

#TimeUsernameProblemLanguageResultExecution timeMemory
754857vjudge1Cluedo (IOI10_cluedo)C++17
100 / 100
17 ms208 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
   int a=1, b=1, c=1;

   int r=Theory(a, b, c);

   while(r != 0){

      if(r == 1 and a<=5){
         a++;
      }else if(r == 2 and b <= 10){
         b++;
      }else if(r == 3 and c <= 5){
         c++;
      }

      r = Theory(a, b, c);

   }

   return;

}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...