2837:年龄与疾病 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[100],i,n; int b,c,d,e; b=c=d=e=0; scanf(&qu…… 题解列表 2025年12月02日 0 点赞 0 评论 28 浏览 评分:0.0
年龄与疾病的简单计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,h,c1=0,c2=0,c3=0,c4=0; double m1,m2,m3,m4; …… 题解列表 2025年11月09日 0 点赞 0 评论 150 浏览 评分:0.0
2837:统计疾病与年龄的关系 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n; scanf("%d",&n); int arr[n];…… 题解列表 2025年10月30日 0 点赞 0 评论 156 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,age; scanf("%…… 题解列表 2025年08月07日 0 点赞 0 评论 170 浏览 评分:0.0
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a[n],b=0,c=0,d=0,e=0; float f,g,h,j; sc…… 题解列表 2024年12月05日 1 点赞 1 评论 609 浏览 评分:10.0
2837: 年龄与疾病(超简单思路) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[100]; double n,b=0,c=0,d=0,f=0,sum1=0,sum2…… 题解列表 2024年10月24日 1 点赞 0 评论 341 浏览 评分:0.0
2837: 年龄与疾病 摘要:解题思路:%.2f%%指定了输出的格式:%.2f表示输出一个浮点数,保留两位小数,%%表示输出一个百分号字符。记得还要*100注意事项:参考代码:#include<stdio.h>int main()…… 题解列表 2024年07月17日 0 点赞 0 评论 394 浏览 评分:9.9
某医院想统计一下某项疾病的获得与否与年龄是否有关,需要对以前的诊断记录进行整理,按照0-18、19-35、36-60、61以上(含61)四个年龄段统计的患病人数占总患病人数的比例。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,x,a=0,b=0,c=0,d=0; scanf("%d",&n); for(…… 题解列表 2024年04月22日 0 点赞 0 评论 352 浏览 评分:0.0
整齐美观,易懂有注释(两种方法)!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i; int a=0,b=0,c=0,d=0; scanf("%d",&m);…… 题解列表 2023年10月22日 0 点赞 0 评论 536 浏览 评分:9.9
简单明了的解题法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n; double z=0,x=0,c=0,v=0; scanf("%d",&n); for(int…… 题解列表 2023年09月23日 0 点赞 0 评论 479 浏览 评分:0.0