Submission #477779

# Submission time Handle Problem Language Result Execution time Memory
477779 2021-10-03T16:21:35 Z PiejanVDC Reversing a Sequence (IOI16_reverse) C++17
Compilation error
0 ms 0 KB
#include "reverse.h"
#include <bits/stdc++.h>
using namespace std;

vector<int64_t> reverse(vector<int64_t>v) {
    reverse(v.begin(),v.end());
    return v;
}

Compilation message

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