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 "cluedo.h"
#include "grader.h"
using namespace std;
void Solve()
{
vector<int> v[3];
for(int i=1;i<=6;i++) v[0].push_back(i);
for(int i=1;i<=10;i++) v[1].push_back(i);
for(int i=1;i<=6;i++) v[2].push_back(i);
for(;;)
{
int ret=Theory(v[0].back(), v[1].back(), v[2].back());
if(ret==0) return;
v[ret].pop_back();
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |