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 4, 2026 16:07caandocaandoScore: 5,160Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 16:075,13570,537,80141,607,0001,014,0002,514,944
2Mar 4, 2026 16:075,14267,976,85842,680,00002,285,568
3Mar 4, 2026 16:075,14269,234,75641,660,0001,016,0002,293,760
4Mar 4, 2026 15:515,14369,415,17541,673,0001,016,0002,523,136
5Mar 4, 2026 16:075,14571,527,89941,707,000993,0002,285,568
6Mar 4, 2026 15:515,15369,616,31041,774,000994,0002,285,568
7Mar 4, 2026 15:515,15673,808,49640,802,0001,990,0002,285,568
8Mar 4, 2026 15:515,15871,749,12341,818,000995,0002,285,568
9Mar 4, 2026 15:515,15872,200,30340,820,0001,991,0002,523,136
10Mar 4, 2026 16:075,15874,349,91240,823,0001,991,0002,523,136
11Mar 4, 2026 15:515,15968,827,56640,827,0001,991,0002,285,568
12Mar 4, 2026 16:075,15969,279,56740,826,0001,991,0002,285,568
13Mar 4, 2026 15:515,16066,990,78240,838,0001,992,0002,387,968
14Mar 4, 2026 16:075,16078,406,94441,835,000996,0002,285,568
15Mar 4, 2026 15:515,16169,549,21740,841,0001,992,0002,285,568
16Mar 4, 2026 16:075,16171,591,56640,844,0001,992,0002,285,568
17Mar 4, 2026 15:515,16278,191,88240,851,0001,992,0002,273,280
18Mar 4, 2026 16:075,16271,760,96440,849,0001,992,0002,523,136
19Mar 4, 2026 15:515,23665,085,22643,462,00002,269,184
20Mar 4, 2026 16:075,23765,755,23942,453,0001,010,0002,523,136
21Mar 4, 2026 15:515,23770,047,83642,456,0001,010,0002,285,568
22Mar 4, 2026 15:515,24670,875,35143,542,00002,285,568
23Mar 4, 2026 16:075,25168,280,67342,568,0001,013,0002,285,568
24Mar 4, 2026 16:075,25772,545,48942,615,0001,014,0002,285,568