Submission #21803

#TimeUsernameProblemLanguageResultExecution timeMemory
21803sampritiReversing a Sequence (IOI16_reverse)C++14
Compilation error
0 ms0 KiB
#include "reverse.h" #include <algorithm> std::vector<long long> reverse(const std::vector<long long> &a) { std::vector<long long> B = a; std::reverse(B.begin(), B.end()); return B; }

Compilation message (stderr)

/tmp/ccuR0vwE.o: In function `main':
grader.cpp:(.text.startup+0x142): undefined reference to `reverse(std::vector<long long, std::allocator<long long> >)'
collect2: error: ld returned 1 exit status