摘要: #include<stdio.h> #include<stdlib.h> int main() { char a[2][100]={"nuist2022-nuist2023","FIFA World Cup 2022"}; FILE *fp; int i,n=0; char ch; fp=fopen 阅读全文
posted @ 2023-01-01 13:28 理塘最速传说顶针 阅读(74) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include<stdlib.h> #include <string.h> #define N 5 typedef struct student { char name[10]; int num; int maths; int computer; int en 阅读全文
posted @ 2023-01-01 13:26 理塘最速传说顶针 阅读(31) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include<stdlib.h> #define N 4 int main() { int a[N]={1,9,8,4}; char b[N] = { '1','9','8','4' }; int i; printf("sizeof(int)=%d\n", 阅读全文
posted @ 2022-11-29 22:19 理塘最速传说顶针 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line, int col, char text[]); void print_spa 阅读全文
posted @ 2022-11-08 22:16 理塘最速传说顶针 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 int main() { int number; int i; srand(time(0)); for (i = 0; i < N; ++i) { number = r 阅读全文
posted @ 2022-10-25 21:44 理塘最速传说顶针 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<math.h> int main() { double x, ans; scanf_s("%lf", &x); ans = pow(x, 365); printf("%.2f的365次方:%.2f\n", x, ans); return 0; } 阅读全文
posted @ 2022-10-18 20:50 理塘最速传说顶针 阅读(10) 评论(0) 推荐(0) 编辑