摘要: 这是超长数的加法,以后自己这种加法自己要记住!就是把所有的数字都移到数组右侧,再一个一个加!My Code 1 #include<stdio.h> 2 #include<string.h> 3 char a[1000][500]; 4 int main() 5 { 6 int i,j,s[500],k,m; 7 char c; 8 int num; 9 while(scanf("%d",&num) != EOF)10 {11 num++;12 memset(a,0,sizeof(a));13 for(i... 阅读全文
posted @ 2012-05-10 08:54 SmallMushroom 阅读(174) 评论(0) 推荐(0) 编辑