上一页 1 ··· 7 8 9 10 11 12 下一页

2022年9月8日

摘要: #include <stdio.h> main( ) { int a; scanf("%d",&a); int h; h=a/3600; int m; m=(a%3600)/60; int s; s=(a%3600)%60; printf("%02d:%02d:%02d\n",h,m,s); } 阅读全文

posted @ 2022-09-08 16:25 lachesism 阅读(788) 评论(0) 推荐(0)

摘要: #include <stdio.h> main( ) { int g,d,c; scanf("%d %d",&g,&d); c=g-d; printf("%d\n",c); } 阅读全文

posted @ 2022-09-08 16:24 lachesism 阅读(156) 评论(0) 推荐(0)

摘要: #include <stdio.h> main( ) { int x,y; int r; scanf("%d %d",&x,&y); r=x-y; printf("%d-%d=%d\n",x,y,r); } 阅读全文

posted @ 2022-09-08 16:23 lachesism 阅读(149) 评论(0) 推荐(0)

2022年9月5日

摘要: #include<stdio.h> int main() { int n; scanf("%d",&n); if(n<0) { n=-n; } printf("%d\n",n); return 0; } 阅读全文

posted @ 2022-09-05 09:59 lachesism 阅读(367) 评论(0) 推荐(0)

摘要: #include<stdio.h> int main() { int n,a,b,c,sum; scanf("%d",&n); a=n/100; b=(n/10)%10; c=n%10; sum=a+b+c; printf("%d",sum); } 阅读全文

posted @ 2022-09-05 09:56 lachesism 阅读(261) 评论(0) 推荐(0)

2022年9月1日

摘要: #include<stdio.h>main(){ int a,b,c; scanf("%d %d",&a,&b); c=a+b; printf("%d",c);} 阅读全文

posted @ 2022-09-01 23:06 lachesism 阅读(1044) 评论(0) 推荐(0)

摘要: #include <stdio.h> main() { int n,m; scanf("%d%d",&n,&m); printf("%d %d\n",n,m); } 阅读全文

posted @ 2022-09-01 23:05 lachesism 阅读(217) 评论(0) 推荐(0)

摘要: #include<stdio.h>int main(){ int n,a,b,c; scanf("%d",&n); a=n/100; b=(n/10)%10; c=n%10; printf("%d %d %d",c,b,a);} 阅读全文

posted @ 2022-09-01 23:03 lachesism 阅读(2275) 评论(0) 推荐(0)

摘要: #include<stdio.h> main() { printf(" *\n ***\n *****\n *******\n*********\n"); } 阅读全文

posted @ 2022-09-01 22:24 lachesism 阅读(782) 评论(0) 推荐(0)

摘要: #include<stdio.h> main() { int n,m,sum,ca,chen; scanf("%d %d",&n,&m); sum=n+m; ca=n-m; chen=n*m; printf("%d %d %d\n",sum,ca,chen); printf("%d\n%d\n%d" 阅读全文

posted @ 2022-09-01 22:23 lachesism 阅读(163) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 下一页