Submission #521135

#TimeUsernameProblemLanguageResultExecution timeMemory
521135krit3379Gondola (IOI14_gondola)C++14
Compilation error
0 ms0 KiB
#ifndef __GONDOLA_H__ #define __GONDOLA_H__ #ifdef __cplusplus extern "C" { #endif int valid(int n, int inputSeq[]); int replacement(int n, int gondolaSeq[], int replacementSeq[]); int countReplacement(int n, int inputSeq[]); #ifdef __cplusplus } #endif #endif /* __GONDOLA_H__ */

Compilation message (stderr)

/usr/bin/ld: /tmp/cc4XvamG.o: in function `main':
grader.cpp:(.text.startup+0xb6): undefined reference to `valid'
/usr/bin/ld: grader.cpp:(.text.startup+0x108): undefined reference to `countReplacement'
/usr/bin/ld: grader.cpp:(.text.startup+0x132): undefined reference to `replacement'
collect2: error: ld returned 1 exit status