题解 2836: 数组逆序重放

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

编写题解 2836: 数组逆序重放

摘要:解题思路:逆序:nums[::-1]注意事项:参考代码:n=int(input()) nums=list(map(int,input().split())) #打包为整型数组 for i in n……

数组逆序重放

解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassP2836{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);inta=scanner.nextInt();