2837: 年龄与疾病 摘要:``` #include using namespace std; int n[100000],a; double q,w,e,r; int main() { cin>>a; for…… 题解列表 2023年11月27日 0 点赞 0 评论 443 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年11月27日 0 点赞 0 评论 553 浏览 评分:9.9
简单易操作(学不会来cue我) 摘要:###我的思路 1. 使用结构体数组存储好学生的各项信息 2. 计算每科平均值 3. 比较学生总成绩 4. 输出每科成绩平均值以及最高分学生的信息(注意是各项信息而非单指成绩) ###注…… 题解列表 2023年11月27日 0 点赞 0 评论 381 浏览 评分:9.9
(轻轻松松)宏定义练习之三角形面积 摘要:解题思路: 直接用它给的公式算起!注意事项: 要用开方!参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int …… 题解列表 2023年11月27日 0 点赞 0 评论 356 浏览 评分:0.0
答案之中的答案 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; if((a>9) an…… 题解列表 2023年11月27日 0 点赞 0 评论 527 浏览 评分:9.9
利用三目运算符解决三个数找最大值问题 摘要:这道题只能说典中典。直接说方法吧。解题思路:一开始看到就想一一比较,但个人觉得这样太复杂、麻烦。有没有一种几行就能写完的代码?有!这里就运用到了三目运算符!首先在a与b中找最大的数值,接下来最大的数值…… 题解列表 2023年11月27日 0 点赞 0 评论 435 浏览 评分:9.9
2754: 其他基本数据类型存储空间大小 摘要:解题思路:使用sizeof函数输入bool和char注意事项:好人一生平安给个五星吧 让孩子涨涨积分吧 求求了参考代码:#include <bits/stdc++.h>using namespace …… 题解列表 2023年11月27日 0 点赞 0 评论 542 浏览 评分:9.9
1812: [编程基础]输入输出练习之输出图案(C++) 摘要:解题思路:使用char注意事项:给孩子一个五星吧 求求了 好人一生平安参考代码:#include <bits/stdc++.h>using namespace std;int main(){ c…… 题解列表 2023年11月27日 0 点赞 0 评论 467 浏览 评分:9.0
查找特定的值(C语言版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x,k; int flag=0; int arr[10001]; scanf…… 题解列表 2023年11月27日 0 点赞 0 评论 310 浏览 评分:0.0
不高兴的津津(C语言版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],b[10]; int sum[10]; int max=0,count=0…… 题解列表 2023年11月27日 0 点赞 0 评论 295 浏览 评分:0.0