Submission #477777

# Submission time Handle Problem Language Result Execution time Memory
477777 2021-10-03T16:18:09 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;

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

Compilation message

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