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 listJul 15, 2025 20:53Safronov AlekseiSafronov AlekseiScore: 50,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2025 20:5350,150438,815,401414,246,0002,001,0002,277,376
2Jul 15, 2025 20:5250,156441,865,907416,293,00002,277,376
3Jul 15, 2025 20:5350,157441,494,532414,305,0002,001,0002,269,184
4Jul 15, 2025 20:5250,160438,259,557414,327,0002,001,0002,277,376
5Jul 15, 2025 20:5150,162439,022,787415,341,0001,000,0002,277,376
6Jul 15, 2025 20:5250,163435,301,255415,352,0001,000,0002,265,088
7Jul 15, 2025 20:5150,168444,064,517414,395,0002,001,0002,277,376
8Jul 15, 2025 20:5150,169447,072,948416,404,00002,277,376
9Jul 15, 2025 20:5250,173443,102,356414,430,0002,002,0002,273,280
10Jul 15, 2025 20:5250,176442,609,813416,461,00002,285,568
11Jul 15, 2025 20:5250,178443,417,238416,476,00002,273,280
12Jul 15, 2025 20:5350,180446,439,126414,500,0001,997,0002,277,376
13Jul 15, 2025 20:5250,186445,455,143416,546,00002,277,376
14Jul 15, 2025 20:5350,197442,506,674414,641,0001,998,0002,277,376
15Jul 15, 2025 20:5250,202440,642,012414,675,0001,998,0002,519,040
16Jul 15, 2025 20:5350,212439,047,655414,759,0001,998,0002,285,568
17Jul 15, 2025 20:5250,230441,732,447413,911,0002,999,0002,273,280
18Jul 15, 2025 20:5350,234449,975,551415,944,000999,0002,277,376