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 listSep 7, 2022 15:14Bernard TeoBernard TeoScore: 7,235Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 15:147,204137,335,01359,794,88102,285,568
2Sep 7, 2022 15:147,210125,434,97359,841,47902,277,376
3Sep 7, 2022 15:147,212117,814,26859,856,06602,277,376
4Sep 7, 2022 15:147,214135,420,18859,878,69102,285,568
5Sep 7, 2022 15:147,21783,960,88158,907,000998,0002,400,256
6Sep 7, 2022 15:147,218118,834,48059,910,57602,277,376
7Sep 7, 2022 15:147,218115,880,30559,908,70402,277,376
8Sep 7, 2022 15:147,22382,392,79157,957,0001,998,0002,273,280
9Sep 7, 2022 15:147,22382,987,71058,956,000999,0002,400,256
10Sep 7, 2022 15:147,22481,250,53758,961,000999,0002,273,280
11Sep 7, 2022 15:147,224134,382,20759,958,08402,273,280
12Sep 7, 2022 15:147,22681,668,27657,979,0001,999,0002,273,280
13Sep 7, 2022 15:147,226117,351,06959,973,25002,285,568
14Sep 7, 2022 15:147,22881,735,74858,997,000999,0002,273,280
15Sep 7, 2022 15:147,22879,721,94457,992,0001,999,0002,273,280
16Sep 7, 2022 15:147,22985,618,95958,002,0002,000,0002,273,280
17Sep 7, 2022 15:147,23183,039,99959,021,0001,000,0002,273,280
18Sep 7, 2022 15:147,23285,365,66258,023,0002,000,0002,273,280
19Sep 7, 2022 15:147,23386,988,67358,029,0002,001,0002,273,280
20Sep 7, 2022 15:147,23489,648,81558,039,0002,001,0002,404,352
21Sep 7, 2022 15:147,235120,832,47560,048,99002,281,472
22Sep 7, 2022 15:147,23583,462,31258,051,0002,001,0002,273,280
23Sep 7, 2022 15:147,23582,834,45558,052,0002,001,0002,392,064
24Sep 7, 2022 15:147,23585,128,40959,053,0001,000,0002,396,160
25Sep 7, 2022 15:147,23684,048,26958,055,0002,001,0002,404,352
26Sep 7, 2022 15:147,23687,795,78059,059,0001,001,0002,273,280
27Sep 7, 2022 15:147,23781,348,39758,061,0002,002,0002,273,280
28Sep 7, 2022 15:147,23779,324,75459,065,0001,001,0002,400,256
29Sep 7, 2022 15:147,23886,906,67459,078,0001,001,0002,400,256
30Sep 7, 2022 15:147,23883,336,07659,078,0001,001,0002,514,944
31Sep 7, 2022 15:147,23881,848,22159,073,0001,001,0002,273,280
32Sep 7, 2022 15:147,23881,542,74458,072,0002,002,0002,396,160
33Sep 7, 2022 15:147,23985,437,71659,079,0001,001,0002,396,160
34Sep 7, 2022 15:147,23990,397,94058,078,0002,002,0002,273,280
35Sep 7, 2022 15:147,23982,197,69458,078,0002,002,0002,273,280
36Sep 7, 2022 15:147,24084,714,01359,087,0001,001,0002,392,064
37Sep 7, 2022 15:147,24182,808,25358,101,0002,003,0002,273,280
38Sep 7, 2022 15:147,24180,940,20659,098,0001,001,0002,400,256
39Sep 7, 2022 15:147,24285,243,17460,112,00002,273,280
40Sep 7, 2022 15:147,24382,946,63158,114,0002,003,0002,273,280
41Sep 7, 2022 15:147,24682,399,47958,140,0002,004,0002,400,256
42Sep 7, 2022 15:147,24883,700,10258,156,0002,005,0002,273,280
43Sep 7, 2022 15:147,26082,738,49958,253,0002,008,0002,486,272
44Sep 7, 2022 15:147,27880,304,18360,404,00002,273,280
45Sep 7, 2022 15:147,28783,200,40260,484,00002,273,280