Submission #1104169

#TimeUsernameProblemLanguageResultExecution timeMemory
1104169Tarela4kaCluedo (IOI10_cluedo)C++17
100 / 100
10 ms508 KiB
#include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#include <string>
#include <map>
#include <set>

using namespace std;

int Theory(int i, int j, int k);

void Solve(){
    int corM = 1, corL = 1, corW = 1;
    int m = Theory(1, 1, 1);
    do {
        if (m == 1) corM++;
        if (m == 2) corL++;
        if (m == 3) corW++;
        m = Theory(corM, corL, corW);
    }while(m != 0);
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...