摘要: #include <stdio.h> int main() { int year; double year1=1000000000.0/365.0/24.0/3600.0; double year2=year1; while(year2>=1){ year2--; } if(year2>=0.5){ 阅读全文
posted @ 2023-10-02 14:18 ACAねの狗 阅读(8) 评论(0) 推荐(0)
摘要: #include<stdio.h> int main() { double x, y; char c1, c2, c3; int a1, a2, a3; scanf("%d%d%d", &a1, &a2, &a3); printf("a1 = %d, a2 = %d, a3 = %d\n", a1, 阅读全文
posted @ 2023-10-02 13:57 ACAねの狗 阅读(10) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-09-28 17:18 ACAねの狗 阅读(7) 评论(0) 推荐(0)
摘要: #include <stdio.h> int main() { float a, b, c; scanf("%f%f%f", &a, &b, &c); if((a+b)>c) printf("能构成三角形\n"); else printf("不能构成三角形\n"); return 0; } 阅读全文
posted @ 2023-09-28 16:50 ACAねの狗 阅读(6) 评论(0) 推荐(0)
摘要: #include <stdio.h> int main() { printf(" 0\n"); printf("<H>\n"); printf("I I\n"); return 0; } 阅读全文
posted @ 2023-09-28 16:44 ACAねの狗 阅读(11) 评论(0) 推荐(0)