11 2023 档案

摘要:#include<stdio.h> #define N 80 int count(char x[]); int main() { char words[N+1]; int n; while(gets(words) != NULL) { n = count(words); printf("单词数: % 阅读全文
posted @ 2023-11-19 14:23 晚夕惋惜婉西 阅读(20) 评论(0) 推荐(0)
摘要:#include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand(time(0)); for(i= 阅读全文
posted @ 2023-11-05 16:23 晚夕惋惜婉西 阅读(3) 评论(0) 推荐(0)
摘要:#include<stdio.h> int func(int n,int m); int main() { int n,m; while(scanf("%d%d",&n,&m)!= EOF) printf("n=%d,m=%d,ans=%d\n",n,m,func(n,m)); return 0; 阅读全文
posted @ 2023-11-03 10:54 晚夕惋惜婉西 阅读(6) 评论(0) 推荐(0)