摘要:
#include <stdio.h> #include <string.h> #define MAXSIZE 110 int main() { int giv[MAXSIZE]; int rec[MAXSIZE]; memset(giv, 0, sizeof(giv)); memset(rec, 0 阅读全文
posted @ 2019-11-06 10:37
ComMario
阅读(138)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> #define MAXSIZE 60 int comp_inc(const void *first, const void *second); int main() { int pieces[MAXSIZE]; int n 阅读全文
posted @ 2019-11-06 10:36
ComMario
阅读(108)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int moves[5]={1,2,3,4,5}; int x; scanf("%d", &x); int ind=4; int Minsteps=0; while((x!=0)&&(ind>=0)) { if(x>=moves[ind 阅读全文
posted @ 2019-11-06 10:35
ComMario
阅读(122)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #define MAXSIZE 100024//之前数据少开了一个量级 int money[MAXSIZE]; int main() { memset(money, 0, sizeof(money)); int a; sc 阅读全文
posted @ 2019-11-06 10:34
ComMario
阅读(148)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> int comp(const void *a, const void *b); int main () { int year; int a[ 阅读全文
posted @ 2019-11-06 10:33
ComMario
阅读(223)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #define MAXSIZE 105 int main() { char Berlandish[MAXSIZE]; char Birlandish[MAXSIZE]; scanf("%s", Berlandish); s 阅读全文
posted @ 2019-11-06 10:32
ComMario
阅读(90)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #define MAXSIZE 1024 char que[MAXSIZE]; int main() { int n, t; scanf("%d %d", &n, &t); scanf("%s", que); int i, j; char temp; for(j 阅读全文
posted @ 2019-11-06 10:31
ComMario
阅读(152)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include<string.h> #define MAXSIZE 30 int main() { char digits[30]; memset(digits, 0, sizeof(digits)); scanf("%s", digits); int len 阅读全文
posted @ 2019-11-06 10:31
ComMario
阅读(120)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int n; int p, q; int rooms=0; scanf("%d", &n); int i; for(i=0; i<n; ++i) { scanf("%d %d", &p, &q); if((q-p)>=2) ++room 阅读全文
posted @ 2019-11-06 10:29
ComMario
阅读(113)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #include <stdbool.h> #define MAXSIZE 105 int main() { char str[MAXSIZE]; scanf("%s", str); int length=strlen(st 阅读全文
posted @ 2019-11-06 10:29
ComMario
阅读(160)
评论(0)
推荐(0)


浙公网安备 33010602011771号