2837: 年龄与疾病 摘要:``` #include using namespace std; int n[100000],a; double q,w,e,r; int main() { cin>>a; for…… 题解列表 2023年11月27日 0 点赞 0 评论 274 浏览 评分:0.0
解 3020: 最大数位置 摘要: #include using namespace std; const int N = 20000; int a[N]; int i,w=0,c; …… 题解列表 2023年11月27日 0 点赞 0 评论 389 浏览 评分:9.9
1098: 陶陶摘苹果 摘要:```cpp #include using namespace std; int h[10],a; int main(){ for( int i=1;i>h[i]; } cin>>…… 题解列表 2023年11月27日 0 点赞 0 评论 191 浏览 评分:0.0
题解 2836: 数组逆序重放 摘要: #include using namespace std; const int N = 2e6; int a[N]; int i; int m…… 题解列表 2023年11月27日 0 点赞 0 评论 218 浏览 评分:0.0
3000: 交换值 摘要:```cpp #include using namespace std; int main() { int a, b; cin >> a >> b; int temp =…… 题解列表 2023年11月27日 0 点赞 0 评论 288 浏览 评分:0.0
纪念品分组 较为简单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;int a[31111];int main(){ …… 题解列表 2023年11月27日 0 点赞 0 评论 153 浏览 评分:0.0
整型与布尔型的转换 摘要:解题思路:无注意事项:不要抄袭,会遭报应的。参考代码:#includausing nanespace sbd;ibt maia(){ ibt a; cia>>b; caut<<(ao…… 题解列表 2023年11月26日 0 点赞 0 评论 225 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:题目解读:这道题就是给我们日期,让我们通过程序计算出该日期是这一年的第几天。解题思路及代码: 首先,我们要定义用于存储年,月,日的变量。在这里有两个方法,第一种如题目名,用定义结构体的方法…… 题解列表 2023年11月26日 0 点赞 0 评论 317 浏览 评分:9.9
2754: 其他基本数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout <<sizeof(bool)<<" "<<sizeo…… 题解列表 2023年11月26日 0 点赞 0 评论 318 浏览 评分:9.9
编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<"Hello, World!";}…… 题解列表 2023年11月26日 0 点赞 0 评论 127 浏览 评分:0.0