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 27, 2025 07:34sheryllynn24sheryllynn24Score: 6,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 27, 2025 07:346,26279,416,16049,978,0001,999,0002,523,136
2Sep 27, 2025 07:346,27580,260,79451,082,0001,001,0002,289,664
3Sep 27, 2025 07:346,33680,494,77451,578,0001,011,0002,527,232
4Sep 27, 2025 07:346,39778,368,82251,095,0002,003,0002,523,136
5Sep 27, 2025 07:346,42479,243,87152,315,0001,006,0002,363,392
6Sep 27, 2025 07:346,48778,639,28751,849,0001,994,0002,289,664