您的位置:首页 > 其它

A + B Problem (Big integer version) 【高精度】

2014-01-12 13:50 459 查看


Description

Input and output are the same with problem 1001.
But A and B are big non-negative integers.
The biggest integer is less than 10^500.



Input

Input contains multiple test cases.
Each case have two big non-negative integers a,b.



Output

For each case,Output a+b.



Sample Input

1234567890987654321
9876543210123456789
123456789123456789
321654987321654987
90813211106932703436330736974742561435635584587189767

46753830538032062222085722974121768604305613921745580

03740925981195265531007548716379717949045703916959416

00884305716749604988340858129204579164537470194616440

31395307920624947349951053530086146486307198155590763

46642939267370952542851097327260060898121976009937467

5982933766845473509473676470788342281338779191792495900393751209539300628363443012
65380058626649130748136562206438424438441319057545656

72075358391135537108795991638155474452610874309742867

23136050254230838219905367559282524078861399189856727

711688179374934080772833579539430126162947987054873645

098400340159470592317831490619591482513697328131486228

945410074523776903441005708070311129960512711459455292

1209928891515242515620324828055912854227507525717981351447473570262981491527798



Sample Output

11111111101111111110
445111776445111776
15619326973358183418446729918118098587407690364473542418

82918892916759933088171461227724305691648823148844726876

97623542610375091291627566224202790710310681614372053123

65424301306562421608314759178083226890010380482379311322

21965327312936843628206131144417143690562575588349341894

72944629210303533037202808248872139692289041436957369887

51989296795616398194193006699318213881745198683109563609854970810


代码



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: