Submission #595238

# Submission time Handle Problem Language Result Execution time Memory
595238 2022-07-13T13:04:35 Z SlyGaleeb Cluedo (IOI10_cluedo) C++17
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define ld long double
#define F first
#define S second

int Theory (int a, int b, int c);

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

/*int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);


}*/

Compilation message

cluedo.cpp: In function 'void Solve()':
cluedo.cpp:14:9: error: 'theory' was not declared in this scope; did you mean 'Theory'?
   14 |     if (theory(i,j,k)==0)
      |         ^~~~~~
      |         Theory