Responsive image

问题 2026 --F A+B Format

2026: F A+B Format

时间限制: 1 Sec  内存限制: 128 MB
提交: 48  解决: 1
[提交][状态][讨论版][命题人:]

题目描述

Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by 
commas (unless there are less than four digits).

输入描述

Each input file contains multiple test cases.Each case contains a pair of integers a and b where -10^6≤a,b≤10^6.
The numbers are separated by a space.

输出描述

For each test case, you should output the sum of a and b in one line. The sum must be written in the standard format.

样例输入

100 9

样例输出

109

来源

 

[提交][状态]
ACM算法攻关部