会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
szm123
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
2023年4月25日
4.25
摘要: #include<stdio.h>#define N 10main(){int i,j,a[N],t,count=0;printf("请为数组元素赋初值:\n");for(i=0;i<N;i++)scanf("%d",&a[i]);for(i=1;i<=N-1;i++)for(j=0;j<N-i;j
阅读全文
posted @ 2023-04-25 19:37 孙锺鸣
阅读(11)
评论(0)
推荐(0)
2023年4月24日
4.24
摘要: #include<stdio.h>#include<math.h>main(){float solution(float a,float b,float c,float d);float a,b,c,d,x;printf("请输入方程的系数:");scanf("%f %f %f %f",&a,&b,
阅读全文
posted @ 2023-04-24 19:28 孙锺鸣
阅读(18)
评论(0)
推荐(0)
2023年4月21日
4.21
摘要: #include<stdio.h>void main(){long fib1=1,fib2=1,fib;int i;printf("%12ld%12ld",fib1,fib2);for(i=3;i<=30;i++){fib=fib1+fib2;printf("%12d",fib);if(i%4==0
阅读全文
posted @ 2023-04-21 16:35 孙锺鸣
阅读(10)
评论(0)
推荐(0)
2023年4月20日
4.20
摘要: #include<stdio.h>void main(){int i,j,k,temp;for(i=0;i<=9;i++)for(j=0;j<=9;j++){if(i!=j){k=1000*i+100*i+10*j+j;for(temp=31;temp<=99;temp++)if(temp*temp
阅读全文
posted @ 2023-04-20 15:55 孙锺鸣
阅读(8)
评论(0)
推荐(0)
2023年4月19日
4.19
摘要: #include<stdio.h>typedef struct date {int year;int month;int day;}DATE;int countDay(DATE);int runYear(int);void main(){DATE today;int totalDay;int res
阅读全文
posted @ 2023-04-19 18:07 孙锺鸣
阅读(17)
评论(0)
推荐(0)
2023年4月18日
4.18
摘要: #include<stdio.h>main(){int a,b,c,i=0;printf("A,B,C三人所选书号分别为:\n");for(a=1;a<=5;a++)for(b=1;b<=5;b++)for(c=1;c<=5;c++)if(a!=b&&a!=c&&c!=b){printf("A:%2
阅读全文
posted @ 2023-04-18 16:20 孙锺鸣
阅读(23)
评论(0)
推荐(0)
2023年4月17日
4.17
摘要: #include<stdio.h>main(){int cock,hen,chicken;for(cock=0;cock<=20;cock++)for(hen=0;hen<=33;hen++)for(chicken=0;chicken<=100;chicken++){if((5*cock+3*hen
阅读全文
posted @ 2023-04-17 15:51 孙锺鸣
阅读(20)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
公告