Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listMar 8, 2026 15:46caandocaandoScore: 5,557Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2026 15:465,52179,454,65943,835,0001,992,0002,523,136
2Mar 8, 2026 15:465,54173,972,72343,994,0001,999,0002,285,568
3Mar 8, 2026 15:465,54266,998,12343,997,0001,999,0002,285,568
4Mar 8, 2026 15:465,55767,996,94544,117,0002,005,0002,269,184
5Mar 8, 2026 15:465,57269,045,09344,237,0002,010,0002,285,568
6Mar 8, 2026 15:465,58371,832,46244,327,0002,014,0002,285,568