Py1051-结构体之成绩统计2-步骤清晰 摘要:解题思路:i for i, x in enumerate(tol):enumerate(tol)会为tol列表中的每个元素生成一个包含索引和值的元组i, x&nbs…… 题解列表 2025年11月10日 0 点赞 0 评论 107 浏览 评分: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 评论 124 浏览 评分: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 评论 104 浏览 评分: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 评论 133 浏览 评分:0.0
多组数据测试选择排序的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,h; while(~scanf("%d",&N)) { …… 题解列表 2025年11月09日 0 点赞 0 评论 87 浏览 评分:2.0
如何利用二维数组 摘要:#include<stdio.h>int main(){ int a[3][3],x,y; for(x=0;x<3;x++)&nb…… 题解列表 2025年11月09日 0 点赞 0 评论 153 浏览 评分: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 评论 109 浏览 评分: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 评论 99 浏览 评分:0.0
编写函数解决问题 摘要:解题思路:注意事项:注意整数溢出,可以使用long long int,不要使用pow参考代码:#include<stdio.h>int f(int n){ int i=0; if(n==0…… 题解列表 2025年11月09日 0 点赞 0 评论 99 浏览 评分:0.0
简单易懂解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main() { int i; &…… 题解列表 2025年11月09日 0 点赞 0 评论 72 浏览 评分:0.0