UVa 713
From Algorithmist
Contents |
[edit] 713 - Adding Reversed Numbers
[edit] Summary
Pretty straight-forward: Reverse the numbers, add them, and then reverse the sum.
[edit] Explanation
Originally, this didn't require BigNum, but the problem was changed so that the optimizers can be reflected on the ranklist. This problem is as simple as it sounds.
[edit] Gotcha's
- Trailing Zeroes.
- Leading Zeroes.
[edit] Input
4 24 1 4358 754 305 794 30 30
[edit] Output
34 1998 1 6

