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 22, 2023 22:50sliceteamsliceteamScore: 8,207Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 22, 2023 22:508,06588,846,81564,939,0001,998,0002,392,064
2Oct 22, 2023 22:508,09288,705,41266,159,0001,002,0002,273,280
3Oct 22, 2023 22:508,09590,543,90166,186,0001,002,0002,273,280
4Oct 22, 2023 22:508,11897,275,24166,376,0001,005,0002,273,280
5Oct 22, 2023 22:508,11994,547,11666,385,0001,005,0002,273,280
6Oct 22, 2023 22:508,13089,618,94966,471,0001,007,0002,392,064
7Oct 22, 2023 22:508,169100,317,75965,805,0001,994,0002,273,280
8Oct 22, 2023 22:508,20789,949,10167,113,0001,001,0002,396,160
9Oct 22, 2023 22:508,22390,732,43467,244,0001,003,0002,396,160
10Oct 22, 2023 22:508,22494,993,59267,260,0001,003,0002,273,280
11Oct 22, 2023 22:508,28997,079,53666,804,0001,994,0002,273,280
12Oct 22, 2023 22:508,29793,332,17067,866,000998,0002,400,256
13Oct 22, 2023 22:508,610136,647,82971,465,82002,277,376
14Oct 22, 2023 22:508,644138,621,56771,744,25802,285,568
15Oct 22, 2023 22:508,673126,052,55471,982,78302,277,376