Submission #882075

#TimeUsernameProblemLanguageResultExecution timeMemory
882075gustavo_dCluedo (IOI10_cluedo)C++17
100 / 100
7 ms364 KiB
// https://oj.uz/problem/view/IOI10_cluedo > p149
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;

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