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 listJan 1, 2023 16:56Hal FHal FScore: 6,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 16:566,69587,952,87054,560,0001,010,0002,449,408
2Jan 1, 2023 16:566,70482,002,88953,617,0002,023,0002,482,176
3Jan 1, 2023 16:566,72380,802,19853,812,0001,993,0002,441,216
4Jan 1, 2023 16:566,73982,945,80953,939,0001,997,0002,277,376
5Jan 1, 2023 16:566,74579,368,20653,987,0001,999,0002,285,568
6Jan 1, 2023 16:566,77585,178,42954,222,0002,008,0002,478,080
7Jan 1, 2023 16:566,82280,483,09655,613,0001,011,0002,465,792
8Jan 1, 2023 16:566,85385,083,96553,883,0002,993,0002,285,568
9Jan 1, 2023 16:566,88285,022,70055,120,0002,004,0002,285,568
10Jan 1, 2023 16:566,96781,012,33755,799,0002,029,0002,473,984
11Jan 1, 2023 16:567,485127,318,30862,124,87802,228,224
12Jan 1, 2023 16:567,618139,738,29963,233,36302,224,128
13Jan 1, 2023 16:568,841139,994,79673,381,65402,224,128
14Jan 1, 2023 16:568,92095,039,85071,032,0003,001,0002,482,176
15Jan 1, 2023 16:569,02499,046,97171,906,0002,996,0002,285,568