#include "grader.h"
#include "cluedo.h"
#include <cstdio>
#include <utility>
using namespace std;
#define m first.first
#define l first.second
#define w second
int Theory(int M, int L, int W);
void Solve(){
pair< pair<int, int> , int> mlw;
int r = Theory(mlw.m, mlw.l, mlw.w);
while(r!=0){
if(r==1) mlw.m++;
else if(r==2) mlw.l++;
else mlw.w++;
r = Theory(mlw.m, mlw.l, mlw.w);
}
return;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |
| # | Verdict | Execution time | Memory | Grader output |
|---|
| Fetching results... |