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 21, 2025 08:48sheryllynn24sheryllynn24Score: 8,526Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2025 08:488,08192,820,88167,071,00002,519,040
2Sep 21, 2025 08:488,09394,154,15465,167,0002,005,0002,289,664
3Sep 21, 2025 08:488,10593,775,28367,272,00002,269,184
4Sep 21, 2025 08:488,526100,502,04569,767,000996,0002,289,664
5Sep 21, 2025 08:488,54097,940,44968,890,0001,996,0002,269,184
6Sep 21, 2025 08:488,55295,545,64467,984,0002,999,0002,285,568