#C. Long Long

    传统题 1000ms 256MiB

Long Long

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

题目描述

AA longlong longlong timetime ago,ago, therethere isis aa ArrayArray andand aa child.child. TheThe childchild likeslikes playingplaying withwith thethe Array.Array.WhyWhy longlong longlong ago?ago? becausebecause youyou mustmust useuse aa longlong longlong toto storestore thethe timetime interval.interval.

给你一个包含 nn 个正整数的数组,你需要将这个数组倒序输出。

输入格式

第一行包含一个整数 nn1n2×1061 \le n \le 2 \times 10^6)。 第二行共有 nn 个整数 a1,a2,,ana_1,a_2,\ldots,a_n1ai10181 \le a_i \le 10^{18})。

输出格式

倒序输出数组,用空格分割。

龙龙?

样例

样例输入1

5
1 2 3 4 5

样例输出1

5 4 3 2 1

样例输入2

1
6

样例输出2

6

南阳理工学院程序设计竞赛热身赛(十一月)

未参加
状态
已结束
规则
ACM/ICPC
题目
3
开始于
2024-11-15 20:15
结束于
2024-11-15 23:03
持续时间
2.8 小时
主持人
参赛人数
150