Submission #1089740

#TimeUsernameProblemLanguageResultExecution timeMemory
1089740vibeslayerReversing a Sequence (IOI16_reverse)C++17
100 / 100
22 ms5976 KiB
#include "reverse.h"

#include <bits/stdc++.h>
using namespace std;

vector<long long> reverse(vector<long long> arr) {
    reverse(begin(arr), end(arr));
    return arr;
}

//int main() {
//    int n; cin >> n;
//    vector<long long> arr(n);
//    for (long long &x : arr) cin >> x;
//
//    arr = reverse(arr);
//
//    for (auto x : arr) cout << x << " ";
//    cout << endl;
//}
#Verdict Execution timeMemoryGrader output
Fetching results...