摘要:
#include <stdio.h> #include <stdlib.h> int comp_inc(const void *first, const void *second); int main() { int a[5]; int i; for(i=0; i<4; ++i) { scanf(" 阅读全文
posted @ 2019-11-06 10:55
ComMario
阅读(139)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int n; double num; scanf("%d", &n); int i; double sum=0.0; for(i=0; i<n; ++i) { scanf("%lf", &num); sum+=num; } printf 阅读全文
posted @ 2019-11-06 10:54
ComMario
阅读(107)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #define Maxsize 50 struct uniform { int h; int g; }; int main() { int n; scanf("%d", &n); struct uniform Set[Maxsize]; int i; for(i 阅读全文
posted @ 2019-11-06 10:54
ComMario
阅读(103)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #define Maxsize 3200 int main() { int letter[30]; memset(letter, 0, sizeof(letter)); char line[Maxsize]; gets(l 阅读全文
posted @ 2019-11-06 10:53
ComMario
阅读(106)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int n; int temp; int Count1=0, Count2=0; int Index1, Index2; scanf("%d", &n); int i; for(i=0; i<n; ++i) { scanf("%d", 阅读全文
posted @ 2019-11-06 10:52
ComMario
阅读(121)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int n; scanf("%d", &n); int i; for(i=1; i<=n; ++i) { if(i!=1) printf(" that "); if(i%2!=0) printf("I hate"); else prin 阅读全文
posted @ 2019-11-06 10:51
ComMario
阅读(93)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int n, m; int Count=0; scanf("%d%d", &n, &m); while((n>0)&&(m>0)) { --n; --m; ++Count; } if(Count%2==0) printf("Malvik 阅读全文
posted @ 2019-11-06 10:50
ComMario
阅读(93)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int max=-1, min=1000; int max_ind=0, min_ind=0; int n; int line; scanf("%d", &n); int i; for(i=0; i<n; ++i) { scanf("% 阅读全文
posted @ 2019-11-06 10:49
ComMario
阅读(95)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <string.h> #include <stdlib.h> #define Maxsize 110 int comp_inc(const void *first, const void *second); int main() { int L 阅读全文
posted @ 2019-11-06 10:47
ComMario
阅读(134)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int a, b; int Count=0; scanf("%d%d", &a, &b); while(a<=b) { ++Count; a*=3; b*=2; } printf("%d\n", Count); return 0; } 阅读全文
posted @ 2019-11-06 10:46
ComMario
阅读(89)
评论(0)
推荐(0)


浙公网安备 33010602011771号