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
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[100],i; double z=0; double x=0; double c=0; do…… 题解列表 2023年02月20日 0 点赞 0 评论 201 浏览 评分:0.0
无聊的星期六 摘要:size=int(input()) num=list(map(int,(input().split()))) q=w=e=r=0 for i in num: if 0<=i<=18:…… 题解列表 2024年05月25日 0 点赞 0 评论 303 浏览 评分:0.0
C++:map容器简单使用方法_练习 摘要:解题思路:注意事项:某方面来说,map容器相当于数组,只不过数据类型多样化,而且需要用一个内存空间,就拿一个内存空间不够它元素的排列方式是按照下标的的大小来排列的参考代码:#include<io…… 题解列表 2025年03月07日 0 点赞 0 评论 226 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,age; scanf("%…… 题解列表 2025年08月07日 0 点赞 0 评论 72 浏览 评分:0.0
某医院想统计一下某项疾病的获得与否与年龄是否有关,需要对以前的诊断记录进行整理,按照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 评论 284 浏览 评分:0.0
2837: 年龄与疾病 摘要:参考代码:n = int(input()) arr = list(map(int, input().split())) s1, s2, s3, s4 = 0, 0, 0, 0 for i in …… 题解列表 2024年03月20日 0 点赞 0 评论 402 浏览 评分:0.0
编写题解 2837: 年龄与疾病 摘要:解题思路:注意事项:参考代码: public static void main(String args[]) { Scanner sc=new Scanner (System.in); i…… 题解列表 2024年01月31日 0 点赞 0 评论 239 浏览 评分:6.0
年龄与疾病(C语言) 摘要:#include<stdio.h> void my_fun(int *p,int n) { double rate1,rate2,rate3,rate4; int a=0,b=0,c=0,…… 题解列表 2023年02月13日 0 点赞 0 评论 224 浏览 评分:7.2
编写题解 2837: 年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int jibing(int A[100],float n){ int i; float w,x,y,z; for(i=0;i<n;…… 题解列表 2022年11月23日 0 点赞 0 评论 335 浏览 评分:8.0