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 23, 2025 19:56caandocaandoScore: 6,010Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 23, 2025 19:565,90673,655,71347,019,0002,000,0002,265,088
2Oct 23, 2025 19:565,92375,839,30247,158,0002,006,0002,285,568
3Oct 23, 2025 19:565,93675,014,98247,257,0002,010,0002,523,136
4Oct 23, 2025 19:566,01078,169,33048,883,000997,0002,285,568
5Oct 23, 2025 19:566,03474,066,35149,085,0001,001,0002,277,376
6Oct 23, 2025 19:566,03874,116,48248,110,0002,004,0002,260,992