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 listSep 26, 2025 17:09sheryllynn24sheryllynn24Score: 7,046Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2025 17:096,88781,417,90355,157,0002,005,0002,285,568
2Sep 26, 2025 17:096,90283,620,48255,278,0002,010,0002,285,568
3Sep 26, 2025 17:096,90282,897,17056,284,0001,005,0002,285,568
4Sep 26, 2025 17:097,04678,370,67857,477,0001,008,0002,519,040
5Sep 26, 2025 17:097,05188,676,86057,515,0001,009,0002,285,568
6Sep 26, 2025 17:097,07485,635,85356,726,0001,990,0002,285,568