Submission #414619

#TimeUsernameProblemLanguageResultExecution timeMemory
414619dxz05Cluedo (IOI10_cluedo)C++14
100 / 100
18 ms256 KiB
#include "grader.h"
#include "cluedo.h"

void Solve(){
   int a = 1, b = 1, c = 1;
   while (true){
        int x = Theory(a, b, c);
        if (x == 0) return;
        if (x == 1) a++;
        if (x == 2) b++;
        if (x == 3) c++;
   }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...