锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久久免费一区二区三区,伊人久久一区二区三区无码,丁香五月网久久综合http://m.shnenglu.com/justin-shi/category/6139.html鍔姏鍋氫竴涓悎鏍肩殑鐢蜂漢銆傘傘?/description>zh-cnTue, 20 May 2008 00:25:58 GMTTue, 20 May 2008 00:25:58 GMT60hdoj1002http://m.shnenglu.com/justin-shi/articles/42661.html騫藉菇騫藉菇Tue, 12 Feb 2008 07:38:00 GMThttp://m.shnenglu.com/justin-shi/articles/42661.htmlhttp://m.shnenglu.com/justin-shi/comments/42661.htmlhttp://m.shnenglu.com/justin-shi/articles/42661.html#Feedback0http://m.shnenglu.com/justin-shi/comments/commentRss/42661.htmlhttp://m.shnenglu.com/justin-shi/services/trackbacks/42661.htmlA + B Problem II
璁$畻涓や釜1000浣嶄互鍐呮暣鏁扮殑鍜?br>杈撳叆
2
1 2
112233445566778899 998877665544332211

杈撳嚭
Case 1:
1 + 2 = 3

Case 2:
112233445566778899 + 998877665544332211 = 1111111111111111110

#include <iostream>
 
using namespace std;

int main()
{
    
int T, count_T;
    
char a[1001], b[1001], ans[1002];
    cin 
>> T;
    
for(count_T=1; count_T <= T; count_T++{
        cin 
>> a >> b;
        
if(count_T==1{
            cout 
<< "Case " << count_T << ":" << endl;
        }

        
else {
            cout 
<< "\nCase " << count_T << ":" << endl;
        }

        cout 
<< a << " + " << b << " = ";
        
int la=strlen(a)-1, lb=strlen(b)-1, sign=0, i;
        
for(i=0;la>=0 && lb>=0; la--,lb--,i++{
            sign 
+= a[la] + b[lb] - '0' - '0';
            ans[i] 
= sign % 10;
            sign 
/= 10;
        }

        
for(; la>=0; la--, i++{
            sign 
+= a[la] - '0';
            ans[i] 
= sign % 10;
            sign 
/= 10;
        }

        
for(; lb>=0; lb--, i++{
            sign 
+= b[lb] - '0';
            ans[i] 
= sign % 10;
            sign 
/= 10;
        }

        
if(sign) {
            ans[i] 
= sign;
            i
++;
        }

        
for(i--; i>=0; i--{
            cout 
<< (char)(ans[i] + '0');
        }

        cout 
<< endl;
    }

    
return(0);
}



騫藉菇 2008-02-12 15:38 鍙戣〃璇勮
]]>
hdoj1001http://m.shnenglu.com/justin-shi/articles/42660.html騫藉菇騫藉菇Tue, 12 Feb 2008 07:36:00 GMThttp://m.shnenglu.com/justin-shi/articles/42660.htmlhttp://m.shnenglu.com/justin-shi/comments/42660.htmlhttp://m.shnenglu.com/justin-shi/articles/42660.html#Feedback0http://m.shnenglu.com/justin-shi/comments/commentRss/42660.htmlhttp://m.shnenglu.com/justin-shi/services/trackbacks/42660.htmlSum problem
璁$畻1+2+3+...+n

#include<iostream>
using namespace std;
int main()
{
    
int n, temp, sum;
    
for(;cin>>n;){
        sum
=0;
        
for(temp=1; temp<=n; temp++)
            sum
+=temp;
        cout 
<< sum << endl << endl;
    }

    
return(0);
}




 



騫藉菇 2008-02-12 15:36 鍙戣〃璇勮
]]>
hdoj1000http://m.shnenglu.com/justin-shi/articles/42545.html騫藉菇騫藉菇Tue, 05 Feb 2008 12:37:00 GMThttp://m.shnenglu.com/justin-shi/articles/42545.htmlhttp://m.shnenglu.com/justin-shi/comments/42545.htmlhttp://m.shnenglu.com/justin-shi/articles/42545.html#Feedback0http://m.shnenglu.com/justin-shi/comments/commentRss/42545.htmlhttp://m.shnenglu.com/justin-shi/services/trackbacks/42545.htmlCalculate A + B.

璁$畻A+B錛岃緭鍏ユ暟鎹湁澶氱粍錛孉C鐨勫叧閿槸浣跨敤C++鐨勮緭鍏ラ敊璇祦銆?/p>

 1#include <iostream>
 2 using namespace std;
 3int main()
 4{
 5    int a, b;
 6    while( cin>>a>>b ) {
 7        cout << a+<< endl;
 8    }

 9    return(0);
10}

11


騫藉菇 2008-02-05 20:37 鍙戣〃璇勮
]]>
AV无码久久久久不卡网站下载| 久久久久人妻一区二区三区| 久久久久久久免费视频| 久久久久噜噜噜亚洲熟女综合| 91久久九九无码成人网站| 久久综合色老色| 久久99精品久久久久久动态图 | 久久精品国产亚洲AV无码麻豆 | 欧美亚洲另类久久综合| 久久久无码精品亚洲日韩京东传媒 | 久久99久久无码毛片一区二区| 7777精品久久久大香线蕉| 国产精品99久久不卡| 国产午夜久久影院| 欧美丰满熟妇BBB久久久| 久久久久久精品无码人妻| 久久成人国产精品二三区| 久久久久亚洲AV成人网人人网站| 91麻精品国产91久久久久| 热re99久久6国产精品免费| 久久国产福利免费| 久久中文娱乐网| 777米奇久久最新地址| 97精品久久天干天天天按摩| 99久久无色码中文字幕人妻| 久久精品成人| 色综合久久中文色婷婷| 久久这里只有精品久久| 精品亚洲综合久久中文字幕| 久久久久亚洲Av无码专| 亚洲欧美日韩久久精品第一区| 伊人久久大香线蕉av不变影院| 久久性精品| 狠狠色噜噜色狠狠狠综合久久| 日韩十八禁一区二区久久| 亚洲а∨天堂久久精品| 久久性生大片免费观看性| 久久久久久一区国产精品| 久久精品亚洲乱码伦伦中文| 久久精品视频91| 久久天天躁狠狠躁夜夜2020一 |