2836 数组逆序重放 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[100]; scanf("%d",&n); int i; …… 题解列表 2023年03月22日 0 点赞 0 评论 733 浏览 评分:9.0
2836 简单c++ 摘要:解题思路:本题最好使用数组解;因为我们不知道有多少个变量.注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[1000];//…… 题解列表 2023年07月14日 0 点赞 0 评论 493 浏览 评分: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 评论 969 浏览 评分:9.0
编写题解 2836: 数组逆序重放 摘要:解题思路:逆序:nums[::-1]注意事项:参考代码:n=int(input()) nums=list(map(int,input().split())) #打包为整型数组 for i in n…… 题解列表 2022年10月23日 0 点赞 0 评论 753 浏览 评分:9.3
2836: 数组逆序重放 摘要:解题思路:其实很简单。只需要输入数组后,将数组逆序输出就可以了。注意事项:逆序输出是“i--”,别写成“i--”了,否则会陷入死循环。参考代码:#include<bits/stdc++.h>using…… 题解列表 2024年06月26日 0 点赞 0 评论 336 浏览 评分:9.9
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[100000];//不限制范围int main(){ …… 题解列表 2024年04月08日 0 点赞 0 评论 407 浏览 评分:9.9
累了,休息会 摘要:解题思路:注意事项:参考代码: #include<bits/stdc++.h> using nam…… 题解列表 2024年03月03日 0 点赞 0 评论 331 浏览 评分:9.9
C++ : 数组逆序重放 摘要:解题思路: 超级超级简单注意事项: 注意逆序输出的时候,最大的位置是 n-1,不是 n 了参考代码:#include<iostream>using namespace std;int main()…… 题解列表 2024年02月05日 0 点赞 0 评论 473 浏览 评分:9.9
数组逆序重放的三种满分题解 摘要:解题思路:注意事项:参考代码:第一种.巧调放入位置法n=int(input())list1=list(map(int,input().split()))ls=[]for i in list1: …… 题解列表 2024年02月01日 0 点赞 0 评论 455 浏览 评分:9.9
数组存放输入数据,然后逆序输出即可,不需要改变数组 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin >> n; …… 题解列表 2023年12月31日 0 点赞 0 评论 909 浏览 评分:9.9