摘要: 验证二 #include <stdio.h> #include <stdlib.h> #define N 10 typedef struct student { int num; char name[20]; int score; }STU; int main() { STU st, stmax, 阅读全文
posted @ 2019-12-31 08:34 fjyffc 阅读(112) 评论(1) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score; 阅读全文
posted @ 2019-12-22 21:57 fjyffc 阅读(119) 评论(1) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> const int N=5; int binarySearch(int x[], int n, int item); // 函数声明 int main() { int a[N]={2,7,19,45,66}; int i, 阅读全文
posted @ 2019-12-16 15:02 fjyffc 阅读(148) 评论(2) 推荐(0)
摘要: Part1 Part2 #include <stdio.h> #include <stdlib.h> #define N 1000 int fun(int n,int m,int bb[N]) { int i,j,k=0,flag; for(j=n;j<=m;j++) { flag=1; for(i 阅读全文
posted @ 2019-11-30 23:14 fjyffc 阅读(116) 评论(1) 推荐(0)
摘要: Part1: Part2: #include <stdio.h> #include <stdlib.h> int main() { int number, max, min, n; n=1; printf("输入第%d个数: ", n); scanf("%d", &number); max = nu 阅读全文
posted @ 2019-11-16 12:35 fjyffc 阅读(131) 评论(2) 推荐(0)
摘要: Part1 Part:验证性内容 Part3 阅读全文
posted @ 2019-11-03 18:49 fjyffc 阅读(122) 评论(3) 推荐(0)
摘要: #include int main() { printf("201983270564"): return 0; } #include int product(int,int); int main(void) { int x,y,s; scanf("%d%d",&x,&y); s=product(x,y); printf("The mul is... 阅读全文
posted @ 2019-10-21 12:57 fjyffc 阅读(136) 评论(0) 推荐(0)