Submission #861167

#TimeUsernameProblemLanguageResultExecution timeMemory
861167lalig777Cluedo (IOI10_cluedo)C++14
100 / 100
7 ms344 KiB
/******************************************************************************

                              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){
        int x=Theory(a,b,c);
        if (x==1) a++;
        else if (x==2) b++;
        else if (x==3) c++;
        else break;
    }return;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...