![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
xihuangwutong
这个作者很懒,什么都没留下…
展开
-
Hd1029
#include <stdio.h> int main() { int n,i,j,item,arr[50000] = {0},m = 0; while(scanf("%d", &n) != EOF) { for(i=0;i<n;i++) { scanf("%d", &j);原创 2017-02-08 18:56:47 · 353 阅读 · 0 评论 -
Hd1001
#include <stdio.h> int main() { int m; int n; while (scanf("%d",&n)!=EOF) { if (n%2==0) m=n/2*(n+1); else m = (n+1)/2原创 2017-01-19 15:43:54 · 777 阅读 · 0 评论 -
大数相加
#include <stdio.h> #include<string.h> #include <stdlib.h> #define MAX 101void bigDataAdd(char a[], char b[]); int main() { char a[MAX] = {0}; char b[MAX] = {0}; gets(a); gets(b)原创 2017-02-15 18:35:44 · 389 阅读 · 0 评论