Submission #337673

#TimeUsernameProblemLanguageResultExecution timeMemory
337673aris12345678Reversing a Sequence (IOI16_reverse)C++14
100 / 100
41 ms3948 KiB
#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 timeMemoryGrader output
Fetching results...