Submission #1307606

#TimeUsernameProblemLanguageResultExecution timeMemory
1307606rox_618Cluedo (IOI10_cluedo)C++20
100 / 100
4 ms400 KiB
#include <bits/stdc++.h> #include "grader.h" #include "cluedo.h" using namespace std; void Solve() { int a = 1; //Murderer int b = 1; //Location int c = 1; //Weapon while(true){ int mal = Theory(a, b, c); if (mal == 1){ a++; } else if (mal == 2) { b++; } else if (mal == 3){ c++; } else { break; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...