#include "reverse.h"
#include <algorithm>
std::vector<long long> reverse(std::vector<long long> a) {
std::vector<long long> B = a;
std::reverse(B.begin(), B.end());
return B;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
1932 KB |
Output is correct |
2 |
Correct |
0 ms |
1932 KB |
Output is correct |
3 |
Correct |
0 ms |
1932 KB |
Output is correct |
4 |
Correct |
0 ms |
1932 KB |
Output is correct |
5 |
Correct |
0 ms |
1932 KB |
Output is correct |
6 |
Correct |
0 ms |
1932 KB |
Output is correct |
7 |
Correct |
0 ms |
2084 KB |
Output is correct |
8 |
Correct |
3 ms |
2244 KB |
Output is correct |
9 |
Correct |
19 ms |
2676 KB |
Output is correct |
10 |
Correct |
49 ms |
4284 KB |
Output is correct |