Submission #57616

#TimeUsernameProblemLanguageResultExecution timeMemory
57616qpalzm1234Parrots (IOI11_parrots)C++14
Compilation error
0 ms0 KiB
#include "encoder.h" #include "encoderlib.h" void encode (int N, int M[]) { for(int i = 0; i < N; i++) { if(M[i]) { send(i); } } }
#include "encoder.h" #include "encoderlib.h" void encode (int N, int M[]) { for(int i = 0; i < N; i++) { if(M[i]) { send(i); } } }

Compilation message (stderr)

/tmp/ccpOnFU3.o: In function `main':
grader_decoder.cpp:(.text.startup+0x1f6): undefined reference to `decode(int, int, int*)'
/tmp/ccXUmqhS.o: In function `encode(int, int*)':
decoder.cpp:(.text+0x38): undefined reference to `send(int)'
collect2: error: ld returned 1 exit status