Submission #563170

#TimeUsernameProblemLanguageResultExecution timeMemory
563170Kanten4205Reversing a Sequence (IOI16_reverse)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; const long long MOD1 = 1000000007; const long long MOD2 = 998244353; typedef long long ll; typedef pair<ll, ll> P; const long long INF = 1e17; vector<ll> reverse(vector<ll> &A) { reverse(A.begin(), A.end()); return A; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccn7gjlt.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