[编程入门]结构体之成绩统计2 摘要:解题思路: 进行三个函数的编写分离功能:一个输出函数,一个求平均数函数,一个找最高分函数最高分函数时候按照总分的大小进行寻找,遍历完返回最高分所在的索引注意事项:参考代码:#i…… 题解列表 2025年11月11日 0 点赞 0 评论 3 浏览 评分:0.0
把公式的逻辑搞懂就知道怎么写了,猛攻!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double number,guess,x1=1;int main(){&nbs…… 题解列表 2025年11月11日 0 点赞 0 评论 9 浏览 评分:0.0
Py1051-结构体之成绩统计2-步骤清晰 摘要:解题思路:i for i, x in enumerate(tol):enumerate(tol)会为tol列表中的每个元素生成一个包含索引和值的元组i, x&nbs…… 题解列表 2025年11月10日 0 点赞 0 评论 36 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 摘要:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,n,x,y,p,time; double s,t=0; scan…… 题解列表 2025年11月10日 0 点赞 0 评论 65 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 摘要:参考代码:#include<stdio.h>int main(){ int n,a,b,c,d,i; double x,y; scanf("%d",&n); s…… 题解列表 2025年11月09日 0 点赞 0 评论 50 浏览 评分: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 评论 47 浏览 评分:0.0
多组数据测试选择排序的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,h; while(~scanf("%d",&N)) { …… 题解列表 2025年11月09日 0 点赞 0 评论 33 浏览 评分:0.0
如何利用二维数组 摘要:#include<stdio.h>int main(){ int a[3][3],x,y; for(x=0;x<3;x++)&nb…… 题解列表 2025年11月09日 0 点赞 0 评论 77 浏览 评分:0.0
1164的基础解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int max(int a[],int n){ int i=0; int x=a[…… 题解列表 2025年11月09日 0 点赞 0 评论 60 浏览 评分:0.0
最后要减一个2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int f(int a){ int sum=0,i=1; while(sum&l…… 题解列表 2025年11月09日 0 点赞 0 评论 58 浏览 评分:0.0