1054计算素数和(调用函数判断) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int sushu(int n)// 返回0为素数 { if(n==1) return 1; else if(n==2) return …… 题解列表 2024年05月25日 0 点赞 0 评论 696 浏览 评分:0.0
无聊的星期六 摘要:#include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct{ char name[20]; int c…… 题解列表 2024年05月25日 0 点赞 0 评论 243 浏览 评分:0.0
无聊的星期六 摘要:无聊上个动态。 #include<stdio.h> #include<stdlib.h> int main(){ int size,sum=0; scanf("%d",&size)…… 题解列表 2024年05月25日 0 点赞 0 评论 557 浏览 评分:0.0
1053平均值计算(注意字符类型的变换) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int sum=0; float lev=0; for(int i=0;i<10;i++)…… 题解列表 2024年05月24日 4 点赞 0 评论 1362 浏览 评分:10.0
1052 链表合并(输出是用二维数组的,链表排序不会) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct student { int a; …… 题解列表 2024年05月24日 0 点赞 0 评论 304 浏览 评分:0.0
统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,t=0;cin>>a;int q,b,x,g,s;…… 题解列表 2024年05月24日 0 点赞 0 评论 460 浏览 评分:0.0
1075: 台球碰撞 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; double l,w,x,y,r,a,v,s; i…… 题解列表 2024年05月24日 1 点赞 0 评论 402 浏览 评分:9.9
求长方形面积 摘要:参考代码:#include<stdio.h>int main(){ int a,b; int C=0,S=0; scanf("%d%d",&a,&b); C=2*(a+b); S=a*b; print…… 题解列表 2024年05月24日 0 点赞 1 评论 1053 浏览 评分:6.0
编写题解 2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n,a,b,s=0,max=0; cin>>n; fo…… 题解列表 2024年05月23日 0 点赞 0 评论 401 浏览 评分:0.0
1051成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct student{ char xuehao[20]; char xinming[20]; int a; in…… 题解列表 2024年05月23日 0 点赞 0 评论 295 浏览 评分:0.0