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 18:10Bernard TeoBernard TeoScore: 6,972Success
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 18:106,96387,518,65155,798,0001,992,0002,273,280
2Sep 6, 2022 18:176,96485,254,35955,810,0001,993,0002,273,280
3Sep 6, 2022 18:176,96578,182,72355,815,0001,993,0002,404,352
4Sep 6, 2022 18:106,96879,067,75756,823,0001,014,0002,273,280
5Sep 6, 2022 18:176,96880,891,08455,841,0001,994,0002,273,280
6Sep 6, 2022 18:176,96884,002,18555,837,0001,994,0002,400,256
7Sep 6, 2022 18:176,96883,661,70455,842,0001,994,0002,273,280
8Sep 6, 2022 18:176,96888,351,11555,837,0001,994,0002,273,280
9Sep 6, 2022 18:106,96882,951,50855,843,0001,994,0002,404,352
10Sep 6, 2022 18:106,97083,726,42255,856,0001,994,0002,392,064
11Sep 6, 2022 18:176,97082,061,95557,850,00002,273,280
12Sep 6, 2022 18:176,97091,418,43756,856,000997,0002,400,256
13Sep 6, 2022 18:176,97184,602,49555,866,0001,995,0002,273,280
14Sep 6, 2022 18:176,97184,379,12856,863,000997,0002,400,256
15Sep 6, 2022 18:106,97280,251,39056,873,000997,0002,273,280
16Sep 6, 2022 18:106,97286,011,89155,872,0001,995,0002,396,160
17Sep 6, 2022 18:176,97391,665,66655,884,0001,995,0002,400,256
18Sep 6, 2022 18:106,97982,628,67756,930,000998,0002,273,280
19Sep 6, 2022 18:106,97981,645,16555,932,0001,997,0002,273,280
20Sep 6, 2022 18:106,98083,559,72055,935,0001,997,0002,396,160
21Sep 6, 2022 18:176,98484,832,01956,970,000999,0002,400,256
22Sep 6, 2022 18:106,98480,499,21256,968,000999,0002,273,280
23Sep 6, 2022 18:106,99877,023,48756,080,0002,002,0002,269,184
24Sep 6, 2022 18:107,00884,271,78956,161,0002,005,0002,273,280
25Sep 6, 2022 18:177,891132,974,62165,494,76402,281,472
26Sep 6, 2022 18:177,976127,459,35666,204,26102,281,472
27Sep 6, 2022 18:178,007135,377,00366,458,24902,285,568
28Sep 6, 2022 18:108,043138,511,58166,759,35102,285,568
29Sep 6, 2022 18:108,058136,931,15666,884,19002,281,472
30Sep 6, 2022 18:108,061145,283,30666,906,06202,289,664