# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
994919 | ducksaysquack | Cluedo (IOI10_cluedo) | C++98 | 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 "grader.h"
#include "cluedo.h"
void Solve(){
vector<int> v(3,1); int r = Theory(v[1],v[2],v[3]);
while(r) v[r-1]++, v[r-1] %= ((r-1)%2?6:10), r = Theory(v[1],v[2],v[3]);
return;
}