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 20, 2025 08:52sheryllynn24sheryllynn24Score: 10,308Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2025 08:5210,259109,669,13183,144,0002,003,0002,285,568
2Sep 20, 2025 08:5210,261110,053,42984,162,0001,001,0002,285,568
3Sep 20, 2025 08:5210,269116,094,42883,228,0002,005,0002,285,568
4Sep 20, 2025 08:5210,308115,019,66784,549,0001,006,0002,285,568
5Sep 20, 2025 08:5210,310112,176,74484,568,0001,006,0002,269,184
6Sep 20, 2025 08:5210,318114,062,15985,641,00002,285,568