2026年5月5日
摘要: task1 源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = { 1, 9, 8, 4 }; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", size 阅读全文
posted @ 2026-05-05 16:11 tyuijnbgrewq 阅读(4) 评论(0) 推荐(0)
  2026年4月20日
摘要: task1 源代码 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = s 阅读全文
posted @ 2026-04-20 17:31 tyuijnbgrewq 阅读(10) 评论(0) 推荐(0)
  2026年4月7日
摘要: task1 源代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); // 以当前系统时间作为随机种子 for (i 阅读全文
posted @ 2026-04-07 16:37 tyuijnbgrewq 阅读(7) 评论(0) 推荐(0)
  2026年3月21日
摘要: 1.实验任务1 task1_1.c 源代码 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I 阅读全文
posted @ 2026-03-21 20:43 tyuijnbgrewq 阅读(12) 评论(0) 推荐(0)
  2026年3月18日
摘要: https://www.cnblogs.com/tyuijnbgrewq 阅读全文
posted @ 2026-03-18 11:42 tyuijnbgrewq 阅读(46) 评论(0) 推荐(0)