Submission #21803

# Submission time Handle Problem Language Result Execution time Memory
21803 2017-04-25T21:41:18 Z sampriti Reversing a Sequence (IOI16_reverse) C++14
Compilation error
0 ms 0 KB
#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

/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