Submission #861162

# Submission time Handle Problem Language Result Execution time Memory
861162 2023-10-15T14:00:29 Z lalig777 Cluedo (IOI10_cluedo) C++14
0 / 100
0 ms 344 KB
/******************************************************************************

                              Online C++ Compiler.
               Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <iostream>
#include "cluedo.h"
#include "grader.h"
using namespace std;

void Solve(){
    int a=1, b=1, c=1;
    while (true){
        if (Theory(a, b, c)==1) a++;
        else if (Theory(a, b, c)==2) b++;
        else if (Theory(a, b, c)==3) c++;
        else break;
    }return;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -