Submission #1282778

#TimeUsernameProblemLanguageResultExecution timeMemory
1282778hayford08Cluedo (IOI10_cluedo)C++20
50 / 100
85 ms388 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
   int r;
   // r = Theory(1,2,3);
   // if (r == 0) return;
   // r = Theory(3,2,1);
   // if (r == 0) return;
   // r = Theory(4,4,4);
   // if (r == 0) return;
   for (int m = 1; m <= 6; m++) {
      for (int l = 1; l <= 10; l++) {
         for (int w = 1; w <= 6; w++) {
            r = Theory(m, l, w);
            if (r == 0) {
               return;
            }
         }
      }
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...