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 listMar 12, 2026 02:13zielajzielajScore: 3,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 12, 2026 02:133,59653,924,62628,852,000994,0002,347,008
2Mar 12, 2026 02:133,59661,720,11829,843,00002,519,040
3Mar 12, 2026 02:133,61855,576,45328,028,0002,002,0002,338,816
4Mar 12, 2026 02:133,79356,143,16731,483,00002,338,816
5Mar 12, 2026 02:133,83461,765,55130,831,000994,0002,347,008
6Mar 12, 2026 02:133,83658,950,15231,835,00002,531,328