#include "reverse.h"
#include<bits/stdc++.h>
using namespace std;
vector<long long> reverse(vector<long long> a)
{
vector<long long>ans;
for(int i=a.size()-1;i>=0;i--)ans.push_back(a[i]);
return ans;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Output is correct |
2 |
Correct |
0 ms |
348 KB |
Output is correct |
3 |
Correct |
0 ms |
348 KB |
Output is correct |
4 |
Correct |
0 ms |
348 KB |
Output is correct |
5 |
Correct |
0 ms |
348 KB |
Output is correct |
6 |
Correct |
0 ms |
348 KB |
Output is correct |
7 |
Correct |
1 ms |
604 KB |
Output is correct |
8 |
Correct |
3 ms |
1116 KB |
Output is correct |
9 |
Correct |
7 ms |
2220 KB |
Output is correct |
10 |
Correct |
22 ms |
6128 KB |
Output is correct |