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 "grader.h"
#include "cluedo.h"
using namespace std;
void Solve(){
int murderer = 1, location = 1, weapon = 1;
int wrong = -1;
while(wrong != 0){
wrong = Theory(murderer, location, weapon);
if(wrong == 1)murderer++;
if(wrong == 2)location++;
if(wrong == 3)weapon++;
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |