1171: Project Modules
Result | TIME Limit | MEMORY Limit | Run Times | AC Times | JUDGE |
---|---|---|---|---|---|
3s | 8192K | 2010 | 628 | Standard |
1st Jilin University ACM International Collegiate Programming Contest
An excellent programmer can write a whole project for a not too big software. But when the software comes to be bigger and bigger, he wouldn't be able to do all by himself. Even if he has the competence, the final software may contain many bugs and it may run out of control. So we have to divide the whole project into smaller parts. We call each part a project module. ACM(Active Computing Module) company is an organization which primarily makes project modules for big software projects of other campanies. Assume you are a programmer of ACM and you are responsible for the addition module of a calculator project. The calculator can process integers less than 1000 digits. Your task is to write a module(program) which can add an non-negative integer A to another non-negative integer B, where both of A and B are of less than 1000 digits.
Input Specification
The input consists of several lines, each of which contains two integers A and B.
Output Specification
For each pair of A and B, you should print the addtion of them and print the result in a single line.
Sample Input
123456789 987654321 99999999999 1
Sample Output
1111111110 100000000000
This problem is used for contest: 164 181
Submit / Problem List / Status / Discuss