Submission #474010

#TimeUsernameProblemLanguageResultExecution timeMemory
474010ValiAntonieCluedo (IOI10_cluedo)C++14
50 / 100
19 ms200 KiB
#include "grader.h" #include "cluedo.h" void Solve(){ int r, a = 1, b = 1, c= 1, ok = 0; while(ok != 1){ r = Theory(a,b,c); if (r == 0){ ok = 1; return; } while(r == 1){ a++; r = Theory(a,b,c); } while(r == 2){ b++; r = Theory(a,b,c); } while(r == 3){ c++; r = Theory(a,b,c); } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...