输入 n 个整数,反转后输出首尾两个数。
第一行输入 n。 第二行输入 n 个整数。
反转后输出首尾两个数。
4 1 2 3 4
4 1
1≤n≤100
在以下作业中:
2026上周日下午2班第五周作业
使用您的 www.mathcoding.online 通用账户