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 14, 2022 17:30Bernard TeoBernard TeoScore: 6,844Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2022 17:306,81278,617,64156,537,00002,273,280
2Sep 14, 2022 17:306,81984,353,51155,591,0001,010,0002,273,280
3Sep 14, 2022 17:306,82281,529,76955,609,0001,011,0002,273,280
4Sep 14, 2022 17:306,82482,092,62856,637,00002,400,256
5Sep 14, 2022 17:306,82482,665,97956,638,00002,392,064
6Sep 14, 2022 17:306,82588,444,42655,638,0001,011,0002,273,280
7Sep 14, 2022 17:306,82589,232,45455,640,0001,011,0002,273,280
8Sep 14, 2022 17:306,82588,742,46556,649,00002,273,280
9Sep 14, 2022 17:306,82680,888,03455,643,0001,011,0002,273,280
10Sep 14, 2022 17:306,82782,662,11556,665,00002,273,280
11Sep 14, 2022 17:306,82781,754,66055,657,0001,011,0002,273,280
12Sep 14, 2022 17:306,82886,936,37455,664,0001,012,0002,273,280
13Sep 14, 2022 17:306,82879,858,66756,676,00002,400,256
14Sep 14, 2022 17:306,82982,496,54155,666,0001,012,0002,396,160
15Sep 14, 2022 17:306,83187,778,01056,697,00002,404,352
16Sep 14, 2022 17:306,84482,720,17954,815,0001,993,0002,273,280
17Sep 14, 2022 17:306,84480,841,81155,809,000996,0002,404,352
18Sep 14, 2022 17:306,84482,804,23554,814,0001,993,0002,396,160
19Sep 14, 2022 17:306,84582,677,48655,821,000996,0002,273,280
20Sep 14, 2022 17:306,84582,714,21855,817,000996,0002,273,280
21Sep 14, 2022 17:306,84682,005,09756,820,00002,273,280
22Sep 14, 2022 17:306,84685,112,71556,818,00002,273,280
23Sep 14, 2022 17:306,84683,914,16255,828,000996,0002,273,280
24Sep 14, 2022 17:306,84780,222,83654,837,0001,994,0002,400,256
25Sep 14, 2022 17:306,910119,192,69657,356,18302,281,472
26Sep 14, 2022 17:306,913122,833,49757,378,98802,273,280
27Sep 14, 2022 17:306,916113,714,94757,400,83802,281,472
28Sep 14, 2022 17:306,920133,658,63657,435,22402,281,472
29Sep 14, 2022 17:306,925112,104,26957,474,83402,273,280
30Sep 14, 2022 17:306,925123,104,89657,474,44002,285,568