제출 #1315231

#제출 시각아이디문제언어결과실행 시간메모리
1315231hayford08Cluedo (IOI10_cluedo)C++20
50 / 100
47 ms384 KiB
#include "grader.h"
#include "cluedo.h"

void Solve() {
   // brute force through all possible combinations
   for (int m = 1; m <= 6; m++) {
      for (int l = 1; l <= 10; l++) {
         for (int w = 1; w <= 6; w++) {
            int response = Theory(m, l, w);
            if (response == 0) {
               return;
            }
         }
      }
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...