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 16:48Bernard TeoBernard TeoScore: 8,260Success
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 16:488,24389,117,76566,404,0002,012,0002,400,256
2Sep 6, 2022 16:488,24596,691,69667,425,0001,006,0002,265,088
3Sep 6, 2022 16:488,24694,155,02368,443,00002,400,256
4Sep 6, 2022 16:548,24891,853,34768,457,00002,273,280
5Sep 6, 2022 16:488,24991,775,35967,462,0001,006,0002,273,280
6Sep 6, 2022 16:548,25090,900,32267,470,0001,007,0002,273,280
7Sep 6, 2022 16:548,25391,358,19667,492,0001,007,0002,404,352
8Sep 6, 2022 16:548,25395,706,76667,497,0001,007,0002,273,280
9Sep 6, 2022 16:488,254101,568,17067,502,0001,007,0002,273,280
10Sep 6, 2022 16:548,25590,828,11367,508,0001,007,0002,400,256
11Sep 6, 2022 16:488,25592,082,80667,508,0001,007,0002,396,160
12Sep 6, 2022 16:548,25690,209,45167,520,0001,007,0002,404,352
13Sep 6, 2022 16:548,25795,824,45368,534,00002,404,352
14Sep 6, 2022 16:548,25796,886,47667,530,0001,007,0002,392,064
15Sep 6, 2022 16:488,25790,932,80467,526,0001,007,0002,273,280
16Sep 6, 2022 16:488,26094,501,38067,550,0001,008,0002,404,352
17Sep 6, 2022 16:488,26392,918,46766,597,0001,987,0002,400,256
18Sep 6, 2022 16:548,29794,252,97266,873,0001,996,0002,273,280
19Sep 6, 2022 16:549,639106,051,44978,003,0002,000,0002,392,064
20Sep 6, 2022 16:489,640100,295,03079,015,0001,000,0002,273,280
21Sep 6, 2022 16:549,651106,169,23779,103,0001,001,0002,273,280
22Sep 6, 2022 16:489,651105,411,80278,104,0002,002,0002,273,280
23Sep 6, 2022 16:549,667106,795,17879,232,0001,002,0002,273,280
24Sep 6, 2022 16:489,668105,356,59479,245,0001,003,0002,273,280
25Sep 6, 2022 16:489,768149,899,10581,078,51202,277,376
26Sep 6, 2022 16:489,783137,995,43181,198,22202,281,472
27Sep 6, 2022 16:549,791138,402,38181,267,39502,277,376
28Sep 6, 2022 16:549,824173,409,27281,537,70502,273,280
29Sep 6, 2022 16:489,831147,576,45181,593,43802,289,664
30Sep 6, 2022 16:549,848134,666,90781,740,44602,277,376