#include <bits/stdc++.h>
using namespace std;
#define int long long
vector<int> reverse(vector<int> a){
int n = a.size();
vector<int> ans(n);
for (int i = 0; i < n; i++){
ans[n-i-1] = a[i];
}
/* for (int i = 0; i < n; i++){
cout << ans[i] << " ";
}*/
return ans;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
304 KB |
Output is correct |
4 |
Correct |
1 ms |
300 KB |
Output is correct |
5 |
Correct |
1 ms |
212 KB |
Output is correct |
6 |
Correct |
1 ms |
308 KB |
Output is correct |
7 |
Correct |
2 ms |
388 KB |
Output is correct |
8 |
Correct |
4 ms |
872 KB |
Output is correct |
9 |
Correct |
11 ms |
2012 KB |
Output is correct |
10 |
Correct |
31 ms |
5788 KB |
Output is correct |