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>
using namespace std;
#include <cluedo.h>
int Theory(int M, int L, int W);
vector<int> ans;
void Solve() {
ans.clear();
for(int i = 0; i < 3; i++)
ans.push_back(1);
while (true) {
int x = Theory(ans[0], ans[1], ans[2]);
if (x == 0) {
return;
}
ans[x - 1]++;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |