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 listMay 21, 2025 19:50vahookvahookScore: 9,132Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2025 19:508,34896,171,00865,272,0004,016,0002,273,280
2May 21, 2025 19:508,35891,743,85967,365,0002,010,0002,273,280
3May 21, 2025 19:508,45090,473,87167,127,0003,005,0002,424,832
4May 21, 2025 19:509,132103,876,67572,802,0002,991,0002,433,024
5May 21, 2025 19:509,13399,009,56373,811,0001,994,0002,428,928
6May 21, 2025 19:509,16096,945,35473,031,0003,001,0002,273,280