Submission #477778

# Submission time Handle Problem Language Result Execution time Memory
477778 2021-10-03T16:20:28 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/ccxS5GZA.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