# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
372865 | 2021-03-02T06:54:54 Z | apostoldaniel854 | Cluedo (IOI10_cluedo) | C++14 | 0 ms | 0 KB |
#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]++; } }