# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
372865 | apostoldaniel854 | Cluedo (IOI10_cluedo) | C++14 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#include "cluedo.h"
using namespace std;
void Solve () {
vector <int> freq (3);
for (int i = 0; i < 20; i++) {
int ans = Theory (freq[0], freq[1], freq[2]);
if (ans == 0) return;
freq[ans - 1]++;
}
}