Submission #377134

#TimeUsernameProblemLanguageResultExecution timeMemory
377134kevinxiehkCluedo (IOI10_cluedo)C++17
Compilation error
0 ms0 KiB
#ifdef __cplusplus extern "C" { #endif int Theory(int M, int L, int W); void Solve(); #ifdef __cplusplus } #endif int a[4],t; void Solve() { // TODO: implementation a[1]=1,a[2]=1,a[3]=1; t=Theory(a[1],a[2],a[3]); while(t!=0){ a[t]++; t=Theory(a[1],a[2],a[3]); } return; }

Compilation message (stderr)

/tmp/cckD04fH.o: In function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
/tmp/ccGySxTY.o: In function `Solve':
cluedo.cpp:(.text+0x2c): undefined reference to `Theory'
cluedo.cpp:(.text+0x61): undefined reference to `Theory'
collect2: error: ld returned 1 exit status