C++:map容器简单使用方法_练习 摘要:解题思路:注意事项:某方面来说,map容器相当于数组,只不过数据类型多样化,而且需要用一个内存空间,就拿一个内存空间不够它元素的排列方式是按照下标的的大小来排列的参考代码:#include<io…… 题解列表 2025年03月07日 0 点赞 0 评论 116 浏览 评分:0.0
处理数据与输入数据同时进行 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<stdio.h> using namespace std; void add(int, int *);//统…… 题解列表 2023年12月31日 0 点赞 0 评论 334 浏览 评分:9.9
题解 2837: 年龄与疾病 摘要: #include using namespace std; int a[100],c; double b,sh,q,z,l; int main(){ …… 题解列表 2023年11月29日 0 点赞 1 评论 243 浏览 评分:9.9
2837: 年龄与疾病 摘要:``` #include using namespace std; int n[100000],a; double q,w,e,r; int main() { cin>>a; for…… 题解列表 2023年11月27日 0 点赞 0 评论 220 浏览 评分:0.0
年龄与疾病(C++代码) 摘要:参考代码:#include <iostream>#include <iomanip>using namespace std;int main() { int n; cin >> n; …… 题解列表 2023年07月14日 0 点赞 0 评论 327 浏览 评分:9.9
普通的写法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;const int N=100;int a[N]; int …… 题解列表 2023年04月26日 0 点赞 0 评论 193 浏览 评分:0.0