# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1267531 | ti24dung_nt | Cluedo (IOI10_cluedo) | C++20 | 3 ms | 392 KiB |
#include "grader.h"
#include "cluedo.h"
void Solve()
{
int murd = 1, loca = 1, weap = 1;
while(true)
{
int type;
type = Theory(murd,loca,weap);
if(type == 0) return;
else if(type == 1) ++murd;
else if(type == 2) ++loca;
else ++weap;
if (murd > 6 || loca > 10 || weap > 6) return;
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |