数组逆序重放(easy) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a[101]; cin>>n; for(int…… 题解列表 2022年11月09日 0 点赞 0 评论 782 浏览 评分:6.0
数组逆序重放 摘要:解题思路:注意事项:逆序打印时,从n-1开始,因为最后要回到0参考代码:#include<stdio.h>int main(){ int a[1000],n; scanf("%d",&n)…… 题解列表 2023年08月03日 0 点赞 0 评论 470 浏览 评分:6.0
新手 数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t,i; scanf("%d",&n); int a[n]; for(i=0…… 题解列表 2024年12月11日 0 点赞 0 评论 966 浏览 评分:6.0
2836: 数组逆序重放题解 摘要:解题思路:注意事项:参考代码#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e7;…… 题解列表 2025年03月16日 0 点赞 0 评论 436 浏览 评分:0.0
C语言简单方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define m 1000int main(){ int N,a[m],i,c,n; scanf("%d&qu…… 题解列表 2025年12月09日 0 点赞 0 评论 310 浏览 评分:0.0
数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a[n]; scanf("%d",&n); for(i=1;i<=n;i++)…… 题解列表 2024年12月03日 1 点赞 0 评论 603 浏览 评分:0.0
2836:将数组中的元素逆序重排 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n; scanf("%d",&n); int arr[n];…… 题解列表 2025年10月30日 0 点赞 0 评论 383 浏览 评分:0.0
C++:map容器简单使用方法_练习 摘要:解题思路:注意事项://map<int,int>mp ;//创立一个位置【键,相当于数组下标】是int类型,元素【值】也是int类型的叫mp的map容器//map容器按照键的大小排列 两者…… 题解列表 2025年03月07日 0 点赞 0 评论 375 浏览 评分:0.0
解题的两种方法(指针思路和直接倒序输出) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int arr[100];&nbs…… 题解列表 2026年03月16日 0 点赞 0 评论 153 浏览 评分:0.0
莉露编写题解 2836: 数组逆序重放 摘要:解题思路:for函数逆使用注意事项:如下参考代码:#include<stdio.h>#define MAX 101int main(){ int num; scanf("%d&q…… 题解列表 2026年02月07日 0 点赞 0 评论 166 浏览 评分:0.0