# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
241340 | clairvoyant | Reversing a Sequence (IOI16_reverse) | C++14 | 52 ms | 5880 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <vector>
#include <algorithm>
using namespace std;
vector<long long int>reverse(vector<long long int>a){
for(int i = 0; i < a.size()/2; i++){
long long temp = a[i];
a[i] = a[a.size()-i-1];
a[a.size()-i-1] = temp;
}
return a;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |