数组逆序重放 摘要:解题思路:注意事项:逆序打印时,从n-1开始,因为最后要回到0参考代码:#include<stdio.h>int main(){ int a[1000],n; scanf("%d",&n)…… 题解列表 2023年08月03日 0 点赞 0 评论 602 浏览 评分:6.0
数组逆序重放(easy) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a[101]; cin>>n; for(int…… 题解列表 2022年11月09日 0 点赞 0 评论 930 浏览 评分:6.0
数组逆序重放 解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassP2836{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);inta=scanner.nextInt(); 题解列表 2022年10月12日 0 点赞 0 评论 1127 浏览 评分:6.7
2836 数组逆序重放 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[100]; scanf("%d",&n); int i; …… 题解列表 2023年03月22日 0 点赞 0 评论 970 浏览 评分:9.0
can can word代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int n; scanf("%d ",&n); int arr[n]; for(int…… 题解列表 2022年11月09日 0 点赞 3 评论 1145 浏览 评分:9.0
2836 简单c++ 摘要:解题思路:本题最好使用数组解;因为我们不知道有多少个变量.注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[1000];//…… 题解列表 2023年07月14日 0 点赞 0 评论 775 浏览 评分:9.0
编写题解 2836: 数组逆序重放 摘要:解题思路:逆序:nums[::-1]注意事项:参考代码:n=int(input()) nums=list(map(int,input().split())) #打包为整型数组 for i in n…… 题解列表 2022年10月23日 0 点赞 0 评论 1015 浏览 评分:9.3
2836: 数组逆序重放 摘要:```cpp #include using namespace std; int main() { int n,a[101]; cin>>n; for(int i=0;…… 题解列表 2023年01月11日 0 点赞 1 评论 949 浏览 评分:9.9
一维数组--3.数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n,a[100]; scanf("%d",&n); //输入; for(int …… 题解列表 2023年03月24日 0 点赞 0 评论 1393 浏览 评分:9.9
数组逆序重放的三种满分题解 摘要:解题思路:注意事项:参考代码:第一种.巧调放入位置法n=int(input())list1=list(map(int,input().split()))ls=[]for i in list1: …… 题解列表 2024年02月01日 0 点赞 0 评论 698 浏览 评分:9.9