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 listApr 15, 2025 23:57pavolkomanpavolkomanScore: 1,454,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2025 23:571,454,42712,106,915,90411,993,782,00077,959,0002,338,816
2Apr 15, 2025 23:571,454,50812,105,718,94011,993,451,00078,963,0002,342,912
3Apr 15, 2025 23:571,454,99512,111,132,19311,974,514,000101,944,0002,412,544