Submission #1006708

#TimeUsernameProblemLanguageResultExecution timeMemory
1006708ALTAKEXEParrots (IOI11_parrots)C++17
Compilation error
0 ms0 KiB
#include "encoder.h" #include "encoderlib.h" #include <bits/stdc++.h> using namespace std; void encode(int N, int M[]) { int n = N; vector<int> ans; for (int i = 0; i < n; i++) ans.push_back(M[i]); for (int i = 0; i < n; i++) send(ans[i] + (i << 8)); }

Compilation message (stderr)

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