Submission #415255

#TimeUsernameProblemLanguageResultExecution timeMemory
415255fvogel499Parrots (IOI11_parrots)C++14
Compilation error
0 ms0 KiB
#include "student.h" int encode(int N, int* M) { int c = 0; for (int i = 0; i < N; i++) if (M[i] == 1) c += 1<<i; send(c); } int decode(int N, int L, int* X) { output(X[0]); }

Compilation message (stderr)

encoder.cpp:1:10: fatal error: student.h: No such file or directory
    1 | #include "student.h"
      |          ^~~~~~~~~~~
compilation terminated.

/usr/bin/ld: /tmp/ccQq37Xs.o: in function `main':
grader_decoder.cpp:(.text.startup+0x1ef): undefined reference to `decode(int, int, int*)'
collect2: error: ld returned 1 exit status