# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
337673 | aris12345678 | Reversing a Sequence (IOI16_reverse) | C++14 | 41 ms | 3948 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 <bits/stdc++.h>
using namespace std;
const int mxN = 1e5+5;
vector<long long> reverse(vector<long long> a) {
int i = 0, j = a.size()-1;
while(i < j) {
swap(a[i], a[j]);
++i, --j;
}
return a;
}
/*int main() {
ios::sync_with_stdio(false); cin.tie(0);
}*/
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |