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 listDec 15, 2023 13:30matsuoka-601matsuoka-601Score: 6,921Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 13:306,80678,813,50055,485,0001,008,0002,412,544
2Dec 15, 2023 13:306,82682,340,84155,648,0001,011,0002,404,352
3Dec 15, 2023 13:306,82888,970,69155,661,0001,012,0002,523,136
4Dec 15, 2023 13:306,83082,689,88655,678,0001,012,0002,523,136
5Dec 15, 2023 13:306,84586,578,69555,821,000996,0002,523,136
6Dec 15, 2023 13:306,84584,025,53456,810,00002,523,136
7Dec 15, 2023 13:306,84783,642,87855,819,0001,014,0002,412,544
8Dec 15, 2023 13:306,85187,218,30754,869,0001,995,0002,523,136
9Dec 15, 2023 13:306,85281,882,51054,875,0001,995,0002,523,136
10Dec 15, 2023 13:306,85383,127,07154,886,0001,995,0002,523,136
11Dec 15, 2023 13:306,87583,902,38256,064,0001,001,0002,392,064
12Dec 15, 2023 13:306,90786,130,51555,319,0002,011,0002,514,944
13Dec 15, 2023 13:306,92179,726,42756,434,0001,007,0002,523,136
14Dec 15, 2023 13:306,93282,093,37257,538,00002,519,040
15Dec 15, 2023 13:306,94383,042,31556,618,0001,011,0002,400,256
16Dec 15, 2023 13:306,96392,869,55056,801,000996,0002,523,136
17Dec 15, 2023 13:306,96886,896,84256,840,000997,0002,408,448
18Dec 15, 2023 13:306,992116,739,25958,035,37402,301,952
19Dec 15, 2023 13:306,997116,431,70458,074,86702,285,568
20Dec 15, 2023 13:307,03081,744,61457,341,0001,005,0002,523,136
21Dec 15, 2023 13:307,036121,689,26758,400,62702,285,568
22Dec 15, 2023 13:307,068121,018,35558,667,52502,232,320
23Dec 15, 2023 13:307,075131,674,46958,726,36302,281,472
24Dec 15, 2023 13:307,097129,030,18058,902,71002,277,376