Submission #1051766

#TimeUsernameProblemLanguageResultExecution timeMemory
1051766kachim2Parrots (IOI11_parrots)C11
Compilation error
0 ms0 KiB
#include "encoder.h" #include "encoderlib.h" void encode(int N, int M[]) { int i; for(i=0; i<N; i++){ int j; for(j = 0; j < 4; j++){ send((((i<<2)|j)<<2 ) | ((M[i] >> (j*2))&3)); } } }

Compilation message (stderr)

grader_decoder.c: In function 'main':
grader_decoder.c:86:2: warning: implicit declaration of function 'fcloseall'; did you mean 'fclose'? [-Wimplicit-function-declaration]
   86 |  fcloseall();
      |  ^~~~~~~~~
      |  fclose
/usr/bin/ld: /tmp/ccZXXOKs.o: in function `main':
grader_decoder.c:(.text.startup+0x1ef): undefined reference to `decode'
collect2: error: ld returned 1 exit status