C++:map容器简单使用方法_练习 解题思路:注意事项://mapmp;//创立一个位置【键,相当于数组下标】是int类型,元素【值】也是int类型的叫mp的map容器//map容器按照键的大小排列两者一同保存其实是成对出现参考代码:#include#includeusingnamespa 题解列表 2025年03月07日 0 点赞 0 评论 482 浏览 评分:0.0
新手 数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t,i; scanf("%d",&n); int a[n]; for(i=0…… 题解列表 2024年12月11日 0 点赞 0 评论 1083 浏览 评分:6.0
C语言 指针解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n=0 ; int a[110]={0} ; int *p=a ; …… 题解列表 2024年12月08日 1 点赞 0 评论 731 浏览 评分:10.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 评论 726 浏览 评分:0.0
数组逆序重放 摘要:解题思路:随便写写,这题目比较常见,故而写题解方便自己查阅注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); …… 题解列表 2024年11月06日 2 点赞 0 评论 630 浏览 评分:10.0
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],b[100],n,i; scanf("%d",&n); for( i=0…… 题解列表 2024年10月24日 0 点赞 0 评论 481 浏览 评分:0.0
2836: 数组逆序重放 解题思路:注意事项:参考代码:n=int(input())l=list(input().split())l=l[::-1]print("".join(l)) 题解列表 2024年07月31日 0 点赞 0 评论 904 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:n=int(input())l=list(map(int,input().split()))l.reverse()print(" ".join(map(str,l)))…… 题解列表 2024年07月25日 0 点赞 0 评论 573 浏览 评分:0.0
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; int temp; …… 题解列表 2024年07月17日 0 点赞 0 评论 429 浏览 评分:0.0
2836: 数组逆序重放 解题思路:注意事项:参考代码:n=int(input())s=list(map(int,input().split()))sq=s[::-1]print(*sq) 题解列表 2024年07月07日 0 点赞 0 评论 467 浏览 评分:0.0