摘要: 1 源代码 #include<stdio.h> #define N 4 #define M 2 void test1() { int x[N]={1,9,8,4}; int i; printf("sizeof(x)=%d\n",sizeof(x)); for(i=0;i<N;++i); printf 阅读全文
posted @ 2024-11-05 17:24 毛天佑202483290413 阅读(3) 评论(1) 推荐(0) 编辑
摘要: #include<stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d",&score)!=EOF) { grade=score_to_grade(score); pr 阅读全文
posted @ 2024-10-26 17:22 毛天佑202483290413 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 源代码 #include #include #include #define N 5 #define N1 397 #define N2 476 #define N3 21 int main() { int cnt; int random_major, random_no; srand(time(N 阅读全文
posted @ 2024-10-10 15:36 毛天佑202483290413 阅读(6) 评论(1) 推荐(0) 编辑
摘要: ![](https://img2024.cnblogs.com/blog/3526438/202409/3526438-20240927133633166-2113603167.png) ![](https://img2024.cnblogs.com/blog/3526438/202409/3526438-20240927135432674-996652679.png) ![](https://i 阅读全文
posted @ 2024-09-27 14:11 毛天佑202483290413 阅读(7) 评论(2) 推荐(0) 编辑