Submission #567619

#TimeUsernameProblemLanguageResultExecution timeMemory
567619losmi247Cluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
#include "cluedo.h"
using namespace std;
typedef long long ll;

void Solve(){
    for(int i = 1; i <= 6; i++){
        for(int j = 1; j <= 10; j++){
            for(int h = 1; h <= 6; h++){
                if(Theory(i,j,h) == 0) return;
            }
        }
    }
}

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:10:20: error: 'Theory' was not declared in this scope
   10 |                 if(Theory(i,j,h) == 0) return;
      |                    ^~~~~~