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> murderer(6);
vector<int> location(10);
vector<int> weapon(6);
iota(murderer.begin(), murderer.end(), 1);
iota(location.begin(), location.end(), 1);
iota(weapon.begin(), weapon.end(), 1);
int res = 0;
while ((res = Theory(murderer.back(), location.back(), weapon.back()))) {
if (res == 1) {
murderer.pop_back();
}
if (res == 2) {
location.pop_back();
}
if (res == 3) {
weapon.pop_back();
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |