摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #define k 1000 int main() { int i = 0; char num[k]; for (i = 0; i < k; i+ 阅读全文
posted @ 2023-03-03 17:01 雨中白发人 阅读(14) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> typedef struct { double st; double mo; double q; } cake; int main() { int 阅读全文
posted @ 2023-03-03 00:06 雨中白发人 阅读(8) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> void decline(int a[]) { int temp = 0; for (int i = 0; i < 3; i++) { for ( 阅读全文
posted @ 2023-03-02 20:43 雨中白发人 阅读(18) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #include<math.h> int max(int a,int b){ return a>b?a:b; } int main() { int n; scanf("%d",&n); g 阅读全文
posted @ 2023-03-02 17:39 雨中白发人 阅读(30) 评论(0) 推荐(0)
摘要: #include <stdio.h> #define MAX_A 1000 int A[MAX_A]; int B; /* 除数 */ int num; /* A 被除数有多少位 */ void read_AB(); void division_print(); /***************** 阅读全文
posted @ 2023-03-02 16:27 雨中白发人 阅读(17) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> int main() { int counta = 0, countb = 0; int pa=0,pb=0; char a[10], b[10] 阅读全文
posted @ 2023-03-01 23:42 雨中白发人 阅读(15) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #include<math.h> int min(int a,int b); int min(int a,int b){ return a<b?a:b; } int main() { ch 阅读全文
posted @ 2023-02-27 18:02 雨中白发人 阅读(17) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #include<math.h> int main() { int t; scanf("%d",&t); long long a,b,c; int i=1; while(i<=t){ sc 阅读全文
posted @ 2023-02-27 11:41 雨中白发人 阅读(21) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #include<math.h> int main() { int n; int a1=0,a2=0,a3=0,a5=0; double a4=0; int i=0; int flag=1 阅读全文
posted @ 2023-02-27 11:40 雨中白发人 阅读(15) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> #include<math.h> int main() { int num[10000]={0}; num[0]=2; int flag=0; int count=0; int a,b; 阅读全文
posted @ 2023-02-27 11:38 雨中白发人 阅读(15) 评论(0) 推荐(0)