Submission #595829

# Submission time Handle Problem Language Result Execution time Memory
595829 2022-07-14T07:20:14 Z jophyyjh Reversing a Sequence (IOI16_reverse) C++14
100 / 100
30 ms 5808 KB
/**
 * Simple
 * 
 * Time Complexity: O(n)
 * Implementation 1
*/

#include <bits/stdc++.h>
#include "reverse.h"


std::vector<long long> reverse(std::vector<long long> a) {
	std::reverse(a.begin(), a.end());
	return a;
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 340 KB Output is correct
2 Correct 0 ms 308 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 1 ms 212 KB Output is correct
6 Correct 0 ms 212 KB Output is correct
7 Correct 1 ms 468 KB Output is correct
8 Correct 5 ms 832 KB Output is correct
9 Correct 10 ms 2096 KB Output is correct
10 Correct 30 ms 5808 KB Output is correct