# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1180976 | hamzabc | Cluedo (IOI10_cluedo) | C++20 | 3 ms | 392 KiB |
#include "grader.h"
#include "cluedo.h"
#define all(x) x.begin(), x.end()
#define mod 1000000007
#define sp << " " <<
#define endl << '\n'
void Solve(){
long long int M = 1, L = 1, W = 1;
while (true){
int k = Theory(M, L, W);
if (k == 0)
break;
if (k == 1)
M++;
if (k == 2)
L++;
if (k == 3)
W++;
}
return;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |