摘要: 任务一 task1_1 源代码 1 #include <stdio.h> 2 #define N 5 3 #include<stdlib.h> 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_m 阅读全文
posted @ 2026-06-02 19:54 不敢睡觉 阅读(12) 评论(0) 推荐(0)
摘要: 任务一 源代码 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 #include<stdlib.h> 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节 阅读全文
posted @ 2026-05-04 14:43 不敢睡觉 阅读(10) 评论(0) 推荐(0)
摘要: 任务一 源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 char score_to_grade(int score); 4 int main() { 5 int score; 6 char grade; 7 while(scanf("%d", &scor 阅读全文
posted @ 2026-04-20 17:38 不敢睡觉 阅读(12) 评论(0) 推荐(0)
摘要: 任务一 源代码 1 #include<stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 int main() { 6 int number; 7 int i; 8 srand(time(0)); 9 for(i = 阅读全文
posted @ 2026-04-06 15:37 不敢睡觉 阅读(9) 评论(0) 推荐(0)
摘要: 任务一 源代码 task1_2 1 #include<stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 printf(" o \t o\n"); 6 printf("<H>\t <H>\n"); 7 printf("I I\t I I\n"); 8 s 阅读全文
posted @ 2026-03-21 23:18 不敢睡觉 阅读(14) 评论(0) 推荐(0)