Submission #1296906

#TimeUsernameProblemLanguageResultExecution timeMemory
1296906orgiloogiiCluedo (IOI10_cluedo)C++20
100 / 100
5 ms388 KiB
#include "grader.h"
#include "cluedo.h"

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