Submission #1174936

#TimeUsernameProblemLanguageResultExecution timeMemory
1174936vahagngCluedo (IOI10_cluedo)C++20
50 / 100
44 ms408 KiB
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;

void Solve(){
   bool flag = 0;
   for(int i = 1; i <= 6; i++){
      for(int j = 1; j <= 10; j++){
         for(int z = 1; z <= 6; z++){
            if(Theory(i, j ,z) == 0){
               flag = 1;
               break;
            }
         }
         if(flag) break;
      }
      if(flag) break;
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...