# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1046455 | dpsaveslives | 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 "grader.h"
#include "cluedo.h"
#include<bits/stdc++.h>
using namespace std;
void solve(){
int M = 1, L = 1, W = 1;
while(true){
int ret = Theory(M,L,W);
if(ret == 0){
return;
}
if(ret == 1){
++M;
}
else if(ret == 2){
++L;
}
else{
++W;
}
}
}