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 28, 2025 07:13sheryllynn24sheryllynn24Score: 6,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2025 07:136,21072,212,70650,531,0001,010,0002,265,088
2Sep 28, 2025 07:136,21682,624,83250,581,0001,011,0002,289,664
3Sep 28, 2025 07:136,24876,454,07949,866,0001,994,0002,289,664
4Sep 28, 2025 07:136,37079,147,89150,877,0001,995,0002,523,136
5Sep 28, 2025 07:136,39083,367,82351,038,0002,001,0002,289,664
6Sep 28, 2025 07:136,41483,544,35551,229,0002,008,0002,523,136