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