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 "grader.h"
#include "cluedo.h"
using namespace std;
void Solve(){
int r;
int a[4] = {-1, 1, 1, 1};
while (true) {
r = Theory(a[1], a[2], a[3]);
if (r == 0) break;
a[r]++;
}
//if (a[1] == 3 && a[2] == 8 && a[3] == 6) cout << "hi";
//cout << "got: " << a[1] << " " << a[2] << " " << a[3] << "\n";
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |