# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
777834 | 2023-07-09T18:14:29 Z | Minindu206 | Grapevine (NOI22_grapevine) | C++14 | 0 ms | 0 KB |
#include "grader.h" #include "cluedo.h" void Solve(){ int a = 1, b = 1, c = 1; int x = Theory(a, b, c); while(x) { if(x == 1) a++; if(x == 2) b++; if(x == 3) c++; x = Theory(a, b, c); } }