逆序重放不等于逆序输出 摘要:逆序重放改变了数组实际的顺序,而逆序输出并未改变顺序 #include int main() { int arr[100] = { 0 }; in…… 题解列表 2023年09月03日 0 点赞 2 评论 1199 浏览 评分:9.9
2836: 数组逆序重放 摘要:解题思路:其实很简单。只需要输入数组后,将数组逆序输出就可以了。注意事项:逆序输出是“i--”,别写成“i--”了,否则会陷入死循环。参考代码:#include<bits/stdc++.h>using…… 题解列表 2024年06月26日 0 点赞 0 评论 423 浏览 评分:9.9
reverse倒序列表 摘要:解题思路:注意事项:参考代码:n=int(input())nums=list(map(int,input().split())) nums.reverse()for i in nums: pr…… 题解列表 2023年11月26日 0 点赞 0 评论 867 浏览 评分:9.9
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[100000];//不限制范围int main(){ …… 题解列表 2024年04月08日 0 点赞 0 评论 498 浏览 评分:9.9
累了,休息会 摘要:解题思路:注意事项:参考代码: #include<bits/stdc++.h> using nam…… 题解列表 2024年03月03日 0 点赞 0 评论 434 浏览 评分:9.9
C++ : 数组逆序重放 摘要:解题思路: 超级超级简单注意事项: 注意逆序输出的时候,最大的位置是 n-1,不是 n 了参考代码:#include<iostream>using namespace std;int main()…… 题解列表 2024年02月05日 0 点赞 0 评论 608 浏览 评分:9.9
数组存放输入数据,然后逆序输出即可,不需要改变数组 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin >> n; …… 题解列表 2023年12月31日 0 点赞 0 评论 1002 浏览 评分:9.9
C语言 指针解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n=0 ; int a[110]={0} ; int *p=a ; …… 题解列表 2024年12月08日 1 点赞 0 评论 609 浏览 评分:10.0
2836: 数组逆序重放题解 摘要:解题思路:注意事项:参考代码#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;…… 题解列表 2025年03月16日 0 点赞 0 评论 535 浏览 评分:10.0
数组逆序重放 摘要:解题思路:随便写写,这题目比较常见,故而写题解方便自己查阅注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); …… 题解列表 2024年11月06日 2 点赞 0 评论 518 浏览 评分:10.0