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(){
vector<int> v(3); int r = Theory(v[1]+1,v[2]+1,v[3]+1);
while(r) v[r-1]++, v[r-1] %= ((r-1)%2?6:10), r = Theory(v[1]+1,v[2]+1,v[3]+1);
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |