Submission #1284188

#TimeUsernameProblemLanguageResultExecution timeMemory
1284188ggillianjiangCluedo (IOI10_cluedo)C++20
0 / 100
1 ms332 KiB
#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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...