답안 #1094503

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
1094503 2024-09-29T17:23:42 Z AliHasanli 뒤집기 (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;
}
# 결과 실행 시간 메모리 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