| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1362169 | something2075 | Cluedo (IOI10_cluedo) | C++20 | 2 ms | 348 KiB |
#include <bits/stdc++.h>
#include "cluedo.h"
#include "grader.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;
}
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
