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 listOct 12, 2025 20:02caandocaandoScore: 6,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2025 20:026,43275,830,18153,388,00002,285,568
2Oct 12, 2025 20:026,45677,882,71152,577,0001,011,0002,285,568
3Oct 12, 2025 20:026,55575,690,35353,401,0001,007,0002,265,088
4Oct 12, 2025 20:026,55679,926,76053,409,0001,007,0002,285,568
5Oct 12, 2025 20:026,55777,068,47653,420,0001,007,0002,285,568
6Oct 12, 2025 20:026,57682,734,62954,582,00002,523,136