Submission #390393

#TimeUsernameProblemLanguageResultExecution timeMemory
390393t12345Parrots (IOI11_parrots)C++14
Compilation error
0 ms0 KiB
#include "decoder.h" #include "decoderlib.h" void decode(int N, int L, int X[]) { int i; for(i=7; i>=0; i--) { output(X[0]>>i & 1); } }
#include "decoder.h" #include "decoderlib.h" void decode(int N, int L, int X[]) { int i; for(i=7; i>=0; i--) { output(X[0]>>i & 1); } }

Compilation message (stderr)

/tmp/cc7djkRq.o: In function `main':
grader_encoder.cpp:(.text.startup+0x17c): undefined reference to `encode(int, int*)'
/tmp/cctErQox.o: In function `decode(int, int, int*)':
encoder.cpp:(.text+0x1e): undefined reference to `output(int)'
collect2: error: ld returned 1 exit status