Submission #241361

#TimeUsernameProblemLanguageResultExecution timeMemory
241361sochoReversing a Sequence (IOI16_reverse)C++14
100 / 100
59 ms5468 KiB
#include "reverse.h"
#include <vector>
#include <bits/stdc++.h>
using namespace std;

std::vector<long long> reverse (std::vector<long long> a) {

    vector<long long int> b;
    for (int i=a.size()-1; i>-1; i--) {
        b.push_back(a[i]);
    }
    return b;

}
#Verdict Execution timeMemoryGrader output
Fetching results...