Submission #630554

#TimeUsernameProblemLanguageResultExecution timeMemory
630554teokakabadzeCluedo (IOI10_cluedo)C++17
50 / 100
166 ms208 KiB
#include "grader.h" #include "cluedo.h" void Solve() { int r, i, j, k, a[11], b[11], c[11]; for(i = 1; i <= 10; i++) a[i] = 0, b[i] = 0, c[i] = 0; for(i = 1; i < 7; i++) { if(a[i]) continue; for(j = 1; j < 11; j++) { if(b[j]) continue; for(k = 1; k < 7; k++) { if(c[k]) continue; r = Theory(i, j, k); if (!r) return; } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...