Submission #337668

# Submission time Handle Problem Language Result Execution time Memory
337668 2020-12-21T11:31:18 Z aris12345678 Reversing a Sequence (IOI16_reverse) C++14
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>

using namespace std;

const int mxN = 1e5+5;

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

/*int main() {
    ios::sync_with_stdio(false); cin.tie(0);

}*/

Compilation message

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