Submission #288229

#TimeUsernameProblemLanguageResultExecution timeMemory
288229KastandaCluedo (IOI10_cluedo)C++11
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
#include "cluedo.h"
using namespace std;
void Solve()
{
    int P[3] = {1, 1, 1};
    int w = Theory(P[0], P[1], P[2]);
    while (w)
        P[w - 1] ++, w = Theory(P[0], P[1], P[2]);
}

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:13: error: 'Theory' was not declared in this scope
    7 |     int w = Theory(P[0], P[1], P[2]);
      |             ^~~~~~