# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
726068 | Black_Hawk | Reversing a Sequence (IOI16_reverse) | C++17 | 0 ms | 0 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 "grader.cpp"
std::vector<long long> reverse(std::vector<long long> 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;
}