Submission #1353604

#TimeUsernameProblemLanguageResultExecution timeMemory
1353604ChinguunCluedo (IOI10_cluedo)C++20
Compilation error
0 ms0 KiB
void Solve(){
    int r;
    bool f1 = 0, f2 = 0, f3 = 0;
    for (int m = 1; m <= 6; m++) {
		for (int l = 1; l <= 10; l++) {
			for (int w = 1; w <= 6; w++) {
				r = Theory(m, l, w);
				if (!r) {
					return;
				}
			}
		}
    }
}

Compilation message (stderr)

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:7:37: error: 'Theory' was not declared in this scope
    7 |                                 r = Theory(m, l, w);
      |                                     ^~~~~~