# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1183681 | ivaziva | Cluedo (IOI10_cluedo) | C++20 | 3 ms | 408 KiB |
#include <bits/stdc++.h>
#include "grader.h"
#include "cluedo.h"
using namespace std;
static int M,L,W;
void Solve()
{
int val1=1,val2=1,val3=1;
while (true)
{
int val=Theory(val1,val2,val3);
if (val==0) break;
if (val==1) val1++;
else if (val==2) val2++;
else if (val==3) val3++;
}
M=val1,L=val2,W=val3;return;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |