#19276: a002


wesley960121 (hehe)


先宣告(int _,_;)

再輸入(這裡要用while(cin>>_>>_)不然不能AC)

最後再cout<<_+_<<endl;

最重要:(一定要加)

while(cin>>_>>_){

cout<<_+_<<endl;

}

}

 

#19378: Re:a002


WDyue (WD悟道)


先宣告(int _,_;)

再輸入(這裡要用while(cin>>_>>_)不然不能AC)

最後再cout<<_+_<<endl;

最重要:(一定要加)

while(cin>>_>>_){

cout<<_+_<<endl;

}

}

 

while(cin>>_>>_){

cout<<_+_<<endl;

}

}

其實橘色的不一定要加,呵呵