#include "reverse.h"
#include <vector>
#include <bits/stdc++.h>
std::vector<long long> reverse (std::vector<long long> a) {
std::reverse(a.begin(), a.end());
return std::vector<long long>(a);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
212 KB |
Output is correct |
2 |
Correct |
0 ms |
212 KB |
Output is correct |
3 |
Correct |
0 ms |
212 KB |
Output is correct |
4 |
Correct |
0 ms |
212 KB |
Output is correct |
5 |
Correct |
1 ms |
212 KB |
Output is correct |
6 |
Correct |
1 ms |
212 KB |
Output is correct |
7 |
Correct |
2 ms |
468 KB |
Output is correct |
8 |
Correct |
4 ms |
828 KB |
Output is correct |
9 |
Correct |
12 ms |
1984 KB |
Output is correct |
10 |
Correct |
33 ms |
5796 KB |
Output is correct |