This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
/**
____ ____ ____ ____ ____
||a |||t |||o |||d |||o ||
||__|||__|||__|||__|||__||
|/__\|/__\|/__\|/__\|/__\|
**/
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
typedef long long ll;
void Solve ()
{
vector <int> va, vb, vc;
for(int i = 1; i <= 6; i++)
va.push_back(i);
for(int i = 1; i <= 10; i++)
vb.push_back(i);
for(int i = 1; i <= 6; i++)
vc.push_back(i);
while(true)
{
int clue = Theory(va.back(), vb.back(), vc.back());
if(clue == 0)
return;
if(clue == 1)
va.pop_back();
if(clue == 2)
vb.pop_back();
if(clue == 3)
vc.pop_back();
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |