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 6, 2022 17:49Bernard TeoBernard TeoScore: 8,297Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2022 17:498,05494,602,07265,854,000997,0002,273,280
2Sep 6, 2022 17:498,23793,686,83667,360,0001,005,0002,273,280
3Sep 6, 2022 17:498,24788,674,77467,441,0001,006,0002,404,352
4Sep 6, 2022 17:498,26093,573,51967,546,0001,008,0002,396,160
5Sep 6, 2022 17:498,26098,621,92268,561,00002,273,280
6Sep 6, 2022 17:498,26190,111,83567,561,0001,008,0002,273,280
7Sep 6, 2022 17:488,264100,560,85567,581,0001,008,0002,396,160
8Sep 6, 2022 17:498,26894,930,86467,617,0001,009,0002,400,256
9Sep 6, 2022 17:488,26996,059,72267,620,0001,009,0002,404,352
10Sep 6, 2022 17:488,27096,968,02968,638,00002,273,280
11Sep 6, 2022 17:488,27197,794,03068,650,00002,408,448
12Sep 6, 2022 17:488,27396,289,38068,662,00002,273,280
13Sep 6, 2022 17:498,27398,249,48068,669,00002,273,280
14Sep 6, 2022 17:498,27496,206,34068,671,00002,273,280
15Sep 6, 2022 17:488,27499,908,97668,674,00002,273,280
16Sep 6, 2022 17:498,28094,548,86368,728,00002,502,656
17Sep 6, 2022 17:488,28392,026,52166,755,0001,992,0002,494,464
18Sep 6, 2022 17:488,29098,428,77966,809,0001,994,0002,273,280
19Sep 6, 2022 17:488,29199,394,20766,822,0001,994,0002,400,256
20Sep 6, 2022 17:498,29395,081,85166,835,0001,995,0002,392,064
21Sep 6, 2022 17:498,29496,509,04467,846,000997,0002,273,280
22Sep 6, 2022 17:498,29693,889,91868,859,00002,273,280
23Sep 6, 2022 17:498,29799,258,09567,869,000998,0002,396,160
24Sep 6, 2022 17:498,29792,262,49866,870,0001,996,0002,506,752
25Sep 6, 2022 17:498,30693,230,56167,944,000999,0002,408,448
26Sep 6, 2022 17:498,31093,112,94766,973,0001,999,0002,400,256
27Sep 6, 2022 17:498,45192,926,13468,140,0002,004,0002,265,088
28Sep 6, 2022 17:498,500143,056,33670,551,31202,277,376
29Sep 6, 2022 17:498,532134,127,55170,818,02202,281,472
30Sep 6, 2022 17:498,560139,060,98471,048,58602,285,568
31Sep 6, 2022 17:488,625143,833,94871,587,10902,281,472
32Sep 6, 2022 17:498,634138,078,26071,665,99202,285,568
33Sep 6, 2022 17:498,637146,455,64371,686,65902,281,472
34Sep 6, 2022 17:488,664130,248,22771,913,09902,285,568
35Sep 6, 2022 17:498,670135,359,05471,958,27502,281,472
36Sep 6, 2022 17:488,685125,617,62172,085,63302,289,664
37Sep 6, 2022 17:499,629108,461,87678,924,000999,0002,273,280
38Sep 6, 2022 17:489,673103,782,10579,286,0001,003,0002,404,352
39Sep 6, 2022 17:489,688106,857,57379,404,0001,005,0002,396,160
40Sep 6, 2022 17:499,694105,638,86979,459,0001,005,0002,400,256
41Sep 6, 2022 17:499,716111,260,32979,637,0001,008,0002,502,656
42Sep 6, 2022 17:489,716114,363,25679,632,0001,008,0002,269,184
43Sep 6, 2022 17:499,732109,072,85280,772,00002,273,280
44Sep 6, 2022 17:499,738107,910,99379,829,000997,0002,392,064
45Sep 6, 2022 17:499,743111,925,55079,870,000998,0002,273,280