Submission #595237

#TimeUsernameProblemLanguageResultExecution timeMemory
595237SlyGaleebCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#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 (stderr)

/usr/bin/ld: /tmp/ccTViGud.o: in function `solve()':
cluedo.cpp:(.text+0x20): undefined reference to `theory(int, int, int)'
/usr/bin/ld: /tmp/cceVwJ0d.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status