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 15:49caandocaandoScore: 5,194Success
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 15:555,18265,008,36342,012,0001,000,0002,269,184
2Mar 4, 2026 16:145,18764,655,90341,048,0002,002,0002,523,136
3Mar 4, 2026 15:495,18869,349,35741,058,0002,002,0002,285,568
4Mar 4, 2026 15:495,18970,433,37241,068,0002,003,0002,277,376
5Mar 4, 2026 16:095,18966,614,77841,066,0002,003,0002,527,232
6Mar 4, 2026 16:095,18969,487,54541,062,0002,003,0002,285,568
7Mar 4, 2026 15:555,18965,844,45741,069,0002,003,0002,523,136
8Mar 4, 2026 15:495,19066,428,95841,075,0002,003,0002,383,872
9Mar 4, 2026 16:145,19067,517,18641,074,0002,003,0002,285,568
10Mar 4, 2026 15:555,19073,513,24841,076,0002,003,0002,285,568
11Mar 4, 2026 15:495,19066,832,90441,077,0002,003,0002,527,232
12Mar 4, 2026 15:495,19065,088,55342,073,0001,001,0002,527,232
13Mar 4, 2026 15:495,19169,580,51141,081,0002,003,0002,285,568
14Mar 4, 2026 15:495,19276,316,51142,095,0001,002,0002,523,136
15Mar 4, 2026 15:495,19266,462,10641,092,0002,004,0002,285,568
16Mar 4, 2026 16:145,19469,603,82842,112,0001,002,0002,285,568
17Mar 4, 2026 15:495,19666,976,03941,118,0002,005,0002,285,568
18Mar 4, 2026 16:095,19969,723,08341,146,0002,007,0002,527,232
19Mar 4, 2026 16:145,28269,888,53342,841,000996,0002,285,568
20Mar 4, 2026 15:555,28370,144,95141,855,0001,993,0002,285,568
21Mar 4, 2026 15:555,28464,472,75641,868,0001,993,0002,519,040
22Mar 4, 2026 16:145,28566,620,52041,871,0001,993,0002,285,568
23Mar 4, 2026 16:095,28568,799,71841,875,0001,994,0002,285,568
24Mar 4, 2026 15:555,29066,626,42641,910,0001,995,0002,265,088
25Mar 4, 2026 15:495,29166,632,71841,917,0001,996,0002,285,568
26Mar 4, 2026 16:145,29569,115,72241,951,0001,997,0002,285,568
27Mar 4, 2026 16:095,29567,814,62041,951,0001,997,0002,523,136
28Mar 4, 2026 16:095,30071,262,64241,995,0001,999,0002,285,568
29Mar 4, 2026 15:495,30071,882,95141,987,0001,999,0002,265,088
30Mar 4, 2026 15:495,30970,346,75342,065,0002,003,0002,265,088