#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
void Solve(){
int theory[3] = {1, 1, 1}; // current theory
int i = Theory(theory[0], theory[1], theory[2]);
while(i){
theory[i]++; //changing our theory according to report given
i = Theory(theory[0], theory[1], theory[2]);
}
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Failed |
1 ms |
292 KB |
wrong parameter |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Failed |
1 ms |
208 KB |
wrong parameter |
2 |
Halted |
0 ms |
0 KB |
- |