# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
957656 | 2024-04-04T07:07:46 Z | AC2K | Regions (IOI09_regions) | C++17 | 0 ms | 0 KB |
#include "cluedo.h" #include "grader.h" void Solve() { int ans_x = 0, ans_y = 0, ans_z = 0; while (1) { int res = Theory(ans_x, ans_y, ans_z); if (res == 0) { return; } if (res == 1) { ++ans_x; } if (res == 2) { ++ans_y; } if (res == 3) { ++ans_z; } } }