Submission #477050

#TimeUsernameProblemLanguageResultExecution timeMemory
477050glomeCluedo (IOI10_cluedo)C++17
100 / 100
13 ms200 KiB
#include "grader.h" #include "cluedo.h" void Solve(){ int ask = 1; int ask2 = 1; int ask3 = 1; while(true) { int k = Theory(ask, ask2, ask3);; if(!k) { return; } else if(k == 1) { if(ask == 5) { ask = 6; continue; } ask++; } else if(k == 2) { if(ask2 == 9) { ask2 = 10; continue; } ask2++; } else { if(ask3 == 5) { ask3 = 6; continue; } ask3++; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...