Submission #883300

#TimeUsernameProblemLanguageResultExecution timeMemory
883300kleeCluedo (IOI10_cluedo)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "grader.h" #include "cluedo.h" using namespace std; int main() { int r = -1; int m = 1; int l = 1; int w = 1; r = Theory(m,l,w); while (r > 0) { if (r == 1) m++; if (r == 2) l++; if (r == 3) w++; r = Theory(m,l,w); } }

Compilation message (stderr)

/usr/bin/ld: /tmp/cccIhhb2.o: in function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'; /tmp/ccwjUMV3.o:cluedo.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cccIhhb2.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status