Submission #276726

#TimeUsernameProblemLanguageResultExecution timeMemory
276726barsboldCluedo (IOI10_cluedo)C++14
100 / 100
12 ms256 KiB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>

using namespace std;

void Solve(){
   int r = 0;
   int m = 1;
   int l =1;
   int w = 1;
   r = Theory(m , l , w);
   while(r!=0){
      if(r == 1){
         m++;
         r = Theory(m , l , w);
         continue;
      }
      if(r == 2){
         l++;
         r = Theory(m , l ,w);
         continue;
      }
      if(r == 3){
         w++;
         r = Theory(m , l ,w);
         continue;
      }
   }
   
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...