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 30, 2022 12:54Hal FHal FScore: 8,286Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 12:548,16898,117,47863,806,0003,987,0002,273,280
2Dec 30, 2022 12:548,17096,543,80164,819,0002,991,0002,273,280
3Dec 30, 2022 12:548,19895,182,14463,041,0005,003,0002,486,272
4Dec 30, 2022 12:548,19898,513,02666,046,0002,001,0002,502,656
5Dec 30, 2022 12:548,23091,129,62666,298,0002,009,0002,273,280
6Dec 30, 2022 12:548,23796,133,08263,340,0005,027,0002,486,272
7Dec 30, 2022 12:548,273103,830,68166,650,0002,019,0002,273,280
8Dec 30, 2022 12:548,28693,245,35566,751,0002,022,0002,273,280
9Dec 30, 2022 12:548,31290,887,18265,991,0002,999,0002,330,624
10Dec 30, 2022 12:548,31591,678,55767,013,0002,000,0002,486,272
11Dec 30, 2022 12:548,40797,501,51765,793,0003,987,0002,494,464
12Dec 30, 2022 12:548,41098,251,89766,816,0002,991,0002,490,368
13Dec 30, 2022 12:548,487133,776,28470,438,44002,224,128
14Dec 30, 2022 12:548,567133,154,10071,104,79502,228,224
15Dec 30, 2022 12:5414,393199,593,587119,457,99202,220,032