摘要: test 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 阅读全文
posted @ 2024-11-10 01:01 璐Luzi 阅读(7) 评论(0) 推荐(0) 编辑
摘要: task 1 #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score_to_gra 阅读全文
posted @ 2024-10-28 23:44 璐Luzi 阅读(4) 评论(0) 推荐(0) 编辑
摘要: test 1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 397 #define N2 476 #define N3 21 int main() { int cnt; int rand 阅读全文
posted @ 2024-10-13 17:41 璐Luzi 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 任务1 test1_1.c #include <stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0; } test1_2.c #include <stdio.h> int main() { 阅读全文
posted @ 2024-09-28 10:50 璐Luzi 阅读(10) 评论(0) 推荐(0) 编辑