# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
393574 | tinjyu | Reversing a Sequence (IOI16_reverse) | C++14 | 42 ms | 5808 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 "reverse.h"
#include <iostream>
using namespace std;
std::vector<long long> reverse(std::vector<long long> a) {
for(int i=0;i<a.size()/2;i++)
{
swap(a[i],a[a.size()-i-1]);
}
return a;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |