# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
477049 | glome | Cluedo (IOI10_cluedo) | C++17 | 0 ms | 0 KiB |
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 "cluedo.h"
#include<bits/stdc++.h>
using namespace std;
// Main
// int Teoria(int c, int u, int a)
void ResolverCaso() {
int ask = 1;
int ask2 = 1;
int ask3 = 1;
while(true) {
int k = Theory(ask, ask2, ask3);;
if(!k) {
return;
}
else if(k == 1) {
if(ask == 5) {
ask = 6;
continue;
}
ask++;
}
else if(k == 2) {
if(ask2 == 9) {
ask2 = 10;
continue;
}
ask2++;
}
else {
if(ask3 == 5) {
ask3 = 6;
continue;
}
ask3++;
}
}
}