存储大数值 int bignum(int a[]){ char n; int i=0; n=cin.get(); while(n!=’\n’){ a[i++]=(int)n-48; n=cin.get(); } return i; }