处理数据与输入数据同时进行 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<stdio.h> using namespace std; void add(int, int *);//统…… 题解列表 2023年12月31日 0 点赞 0 评论 462 浏览 评分:9.9
年龄与疾病 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[]args…… 题解列表 2023年12月12日 0 点赞 0 评论 448 浏览 评分:9.9
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,s[100],j; scanf("%d",&n); double …… 题解列表 2023年01月13日 0 点赞 0 评论 468 浏览 评分:9.9
这个方法还不错! 摘要:解题思路:按题目意思写即可注意事项:输出注意浮点型参考代码:#include<stdio.h> void fun(int t) { int a=0,b=0,c=0,d=0,m,i; for…… 题解列表 2022年12月23日 0 点赞 0 评论 716 浏览 评分:9.9
题解 2837: 年龄与疾病 摘要: #include using namespace std; int a[100],c; double b,sh,q,z,l; int main(){ …… 题解列表 2023年11月29日 0 点赞 1 评论 367 浏览 评分:9.9
编写题解 2837: 年龄与疾病 摘要:解题思路:1)定义4个count计数器2)输出%:'%.2f%%'%n注意事项:参考代码:n=int(input()) #病人数目 ages=list(map(int,input()…… 题解列表 2022年10月23日 0 点赞 0 评论 1001 浏览 评分:9.9
年龄与疾病 摘要:解题思路:注意事项:参考代码:#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
年龄与疾病暴力解法 摘要:解题思路:先输入,之后定义每个年龄层的人,接着再除以总数即可注意事项:参考代码:n = int(input())arr = list(map(int, input().split()))&…… 题解列表 2025年03月03日 1 点赞 0 评论 388 浏览 评分:10.0