2837: 年龄与疾病 摘要:``` #include using namespace std; int n[100000],a; double q,w,e,r; int main() { cin>>a; for…… 题解列表 2023年11月27日 0 点赞 0 评论 348 浏览 评分:0.0
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
C++:map容器简单使用方法_练习 摘要:解题思路:注意事项:某方面来说,map容器相当于数组,只不过数据类型多样化,而且需要用一个内存空间,就拿一个内存空间不够它元素的排列方式是按照下标的的大小来排列的参考代码:#include<io…… 题解列表 2025年03月07日 0 点赞 0 评论 274 浏览 评分:0.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: 年龄与疾病 摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())a = b = c = d = 0for i in l: if 0 <= int(…… 题解列表 2024年07月31日 0 点赞 0 评论 393 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:n=int(input())li=list(map(int,input().split()))shul=[0]*4for l in li: if 0<=l<=18:…… 题解列表 2024年07月25日 0 点赞 0 评论 459 浏览 评分: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 评论 338 浏览 评分:0.0