# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1222699 | orionaraf | Cluedo (IOI10_cluedo) | C++20 | 0 ms | 0 KiB |
c++;
}
void Solve() {
for (int i = 1; i <= 6; ++i)
A[i] = 0;
for (int i = 1; i <= 10; ++i)
B[i] = 0;
for (int i = 1; i <= 6; ++i)
C[i] = 0;
int a, b, c, ans;
do {
getTheory(a, b, c);
ans = Theory(a, b, c);
if (ans == 1)
A[a] = 1;
if (ans == 2)
B[b] = 1;
if (ans == 3)
C[c] = 1;
} while (ans != 0);
}