上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 45 下一页
摘要: #include <stdio.h> #include <string.h> #include <stdlib.h> struct sysuser{ char username[20]; char password[8]; }; void encrypt_(char *pwd); int main( 阅读全文
posted @ 2021-09-27 11:21 就是想学习 阅读(77) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <math.h> int prime(int n); int main(void){ int n = 2, count = 0; FILE * fp; if ((fp = fopen("prime.txt 阅读全文
posted @ 2021-09-27 10:46 就是想学习 阅读(80) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> struct stud_node{ int num; char name[20]; int score; struct stud_node *next; }; struct stud 阅读全文
posted @ 2021-09-25 21:14 就是想学习 阅读(161) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> struct card{ int suit; int face; }; void deal(struct card *wdeck){ int i , m, t; static int t 阅读全文
posted @ 2021-09-25 16:00 就是想学习 阅读(86) 评论(0) 推荐(0)
摘要: 输入n(n<10)个整数,统计其中素数的个数。要求程序由两个文件组成,一个文件中编写main函数,另一个文件中编写素数判断的函数。使用文件包含的方式实现。 主函数 #include "prime.h" int main(void){ int i, n, count; scanf("%d", &n); 阅读全文
posted @ 2021-09-23 14:45 就是想学习 阅读(171) 评论(0) 推荐(0)
摘要: #include <stdio.h> int max(int a[], int m, int n){ int k, u ,v; if (m ==n) { return a[m]; } k = (m+n)/2; u = max(a, m ,k); v = max(a, k+1, n); return 阅读全文
posted @ 2021-09-21 14:52 就是想学习 阅读(79) 评论(0) 推荐(0)
摘要: #include <stdio.h> int gcd(int m, int n); void reverse(int num); int main(void){ int m, n; scanf("%d", &m); reverse(m); // scanf("%d%d",&m, &n); // pr 阅读全文
posted @ 2021-09-21 14:18 就是想学习 阅读(52) 评论(0) 推荐(0)
摘要: #include <stdio.h> #define MAXN 100 int Count = 0; void select_(int a[], int option, int value); void input_array(int a[]); void print_array(int a[]); 阅读全文
posted @ 2021-09-21 13:11 就是想学习 阅读(143) 评论(0) 推荐(0)
摘要: #include <stdio.h> struct student{ int num; char name[40]; int computer, english, math; double average; }; int update_score(struct student *p, int n, 阅读全文
posted @ 2021-09-19 13:40 就是想学习 阅读(107) 评论(0) 推荐(0)
摘要: #include <stdio.h> struct student{ int num; char name[40]; int computer, english, math; }; int main(void){ int i; struct student students[5] = { {1,"B 阅读全文
posted @ 2021-09-19 12:18 就是想学习 阅读(152) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 45 下一页