| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1307605 | 3lektra | Cluedo (IOI10_cluedo) | C++20 | 1 ms | 332 KiB |
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namespace std;
void Solve(){
int r, s; // both respuestas
int a = 1, b = 1, c = 1;
while(r != 0){
r = Theory(a,b,c);
s = Theory(a,b,c);
if(r == s){
if(r == 1) a++;
else if(r == 2) b++;
else c++;
}
else {
if(r == 1 || s == 1) a++;
if(r == 2 || s == 2) b++;
if(r == 3 || s == 3) c++;
}
}
return;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
