# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
117355 | nvmdava | Reversing a Sequence (IOI16_reverse) | C++17 | 41 ms | 5864 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"
std::vector<long long> reverse(std::vector<long long> a) {
std::vector<long long> res(a.size());
for(int i = a.size() - 1; i >= 0; i--){
res[i] = a[a.size() - 1 - i];
}
return res;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |