Submission #1094503

# Submission time Handle Problem Language Result Execution time Memory
1094503 2024-09-29T17:23:42 Z AliHasanli Reversing a Sequence (IOI16_reverse) C++17
100 / 100
22 ms 6128 KB
#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;
}
# Verdict Execution time Memory 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