2025年11月17日

摘要: 1 #include <stdio.h> 2 #define N 10 3 int det[N+1][N+1]; 4 5 void input(int n); 6 int cpt(int n); 7 void rxk(int n,int r,int k);//ÐеÄÊý³Ë 8 void r_k( 阅读全文
posted @ 2025-11-17 18:13 johnwzq 阅读(17) 评论(0) 推荐(0)
 
摘要: task1 1.是连续存放的,相等。 2.按行连续存放。三者相同。差值16byte,含义是一行四个int值共占4*sizeof(int)==16字节 task2 1.形参是x[ ],实参是x. 2.遍历输入长度为n的数组x 算出所有得分去掉最高最低分的均分 task 3 1.形参x[ ][N],实参 阅读全文
posted @ 2025-11-17 15:53 johnwzq 阅读(10) 评论(1) 推荐(0)

2025年10月31日

摘要: 任务1 1 #include <stdio.h> 2 char score_to_grade(int score); // 函数声明 3 int main() { 4 int score; 5 char grade; 6 while(scanf("%d", &score) != EOF) { 7 g 阅读全文
posted @ 2025-10-31 17:26 johnwzq 阅读(7) 评论(1) 推荐(0)

2025年10月20日

摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int r;//random_major,random_no; 阅读全文
posted @ 2025-10-20 16:11 johnwzq 阅读(6) 评论(0) 推荐(0)
 
摘要: 实验任务一 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 int main(){ 9 int cnt; 10 int r 阅读全文
posted @ 2025-10-20 15:53 johnwzq 阅读(9) 评论(1) 推荐(0)