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 listOct 15, 2023 20:36sliceteamsliceteamScore: 8,692Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2023 20:368,65799,955,49369,858,0001,995,0002,265,088
2Oct 15, 2023 20:368,66896,509,50369,944,0001,998,0002,260,992
3Oct 15, 2023 20:368,677101,334,11070,017,0002,000,0002,260,992
4Oct 15, 2023 20:368,680100,705,53370,039,0002,001,0002,523,136
5Oct 15, 2023 20:368,686100,830,21970,090,0002,002,0002,260,992
6Oct 15, 2023 20:368,690102,860,48570,125,0002,003,0002,387,968
7Oct 15, 2023 20:368,69297,470,35671,145,0001,002,0002,260,992
8Oct 15, 2023 20:368,69298,238,73771,142,0001,002,0002,383,872
9Oct 15, 2023 20:368,71495,268,65372,323,00002,383,872
10Oct 15, 2023 20:368,72096,746,46871,374,0001,005,0002,379,776
11Oct 15, 2023 20:368,880109,430,60771,716,0001,992,0002,379,776
12Oct 15, 2023 20:368,89399,119,92371,818,0001,994,0002,260,992
13Oct 15, 2023 20:368,992152,060,70174,634,17702,269,184
14Oct 15, 2023 20:368,998139,500,94374,686,47902,265,088
15Oct 15, 2023 20:369,026144,287,79874,912,06002,265,088