该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
题目描述
A long long time ago, there is a Array and a child. The child likes playing with the Array. (Why long long ago? because you must use a long long to store the time interval.)
给你一个包含 n 个正整数的数组,你需要将这个数组倒序输出。
输入格式
第一行包含一个整数 n(1≤n≤2×106)。
第二行共有 n 个整数 a1,a2,…,an (1≤ai≤1018)。
输出格式
倒序输出数组,用空格分割。
龙龙?
样例
样例输入1
5
1 2 3 4 5
样例输出1
5 4 3 2 1
样例输入2
1
6
样例输出2
6