Submission #1213445

#TimeUsernameProblemLanguageResultExecution timeMemory
1213445Captain_GeorgiaCluedo (IOI10_cluedo)C++20
50 / 100
7 ms412 KiB
#include "grader.h" #include "cluedo.h" #include <bits/stdc++.h> using namespace std; mt19937 rng(time(NULL)); void Solve () { vector<int> tmp = {1, 1, 1}, tot = {6, 10, 6}; while (true) { int res = Theory(tmp[0], tmp[1], tmp[2]); if (res == 0) return; for (int i = res - 1;i < 3;i ++) tmp[i] = rng() % tot[i] + 1; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...