摘要:
题目描述:InputThe first line of the input contains an integer T(1 2 #include 3 using namespace std; 4 string ans; 5 void bintadd(string a,string b) 6 { 7 int alen = a.length() - 1,blen = b.length() - 1;//alen,blen分别存放a,b字符串的最大下标 8 int up = 0,i = 0,j,te;//up存放进位值,te存放余数 9 10 while(alen >= 0 |...
阅读全文
posted @ 2013-11-07 22:29
Const_Lin
阅读(284)
推荐(0)
编辑