| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1362167 | something2075 | Cluedo (IOI10_cluedo) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
void Solve() {
int pers = 1, location = 1, weapon = 1;
int res = -1;
while (res != 0) {
res = Theory(pers, location, weapon);
if (res == 1) {
pers += 1;
} else if (res == 2) {
location += 1;
} else {
weapon += 1;
}
}
return;
}
