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(){
vector<int> stA, stB, stC;
for(int i=1; i<=6; i++) stA.push_back(i);
for(int i=1; i<=10; i++) stB.push_back(i);
for(int i=1; i<=6; i++) stC.push_back(i);
while(1){
int a = stA.back(), b = stB.back(), c = stC.back();
int v = Theory(a, b, c);
if(!v) return;
if(v==1) stA.pop_back();
if(v==2) stB.pop_back();
if(v==3) stC.pop_back();
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |