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:56sliceteamsliceteamScore: 8,682Success
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:568,632138,974,54071,649,74702,265,088
2Oct 15, 2023 20:568,659157,119,81071,873,16402,269,184
3Oct 15, 2023 20:568,672101,966,03270,981,000999,0002,379,776
4Oct 15, 2023 20:568,675102,921,93670,003,0002,000,0002,375,680
5Oct 15, 2023 20:568,67897,878,80671,028,0001,000,0002,383,872
6Oct 15, 2023 20:568,67998,184,55570,038,0002,001,0002,523,136
7Oct 15, 2023 20:568,680100,238,54371,044,0001,000,0002,387,968
8Oct 15, 2023 20:568,682101,298,05271,063,0001,000,0002,260,992
9Oct 15, 2023 20:568,69998,193,43371,199,0001,002,0002,260,992
10Oct 15, 2023 20:568,71898,503,92570,378,0001,982,0002,260,992
11Oct 15, 2023 20:568,72697,166,31070,414,0002,011,0002,260,992
12Oct 15, 2023 20:568,74497,591,79771,570,0001,008,0002,260,992
13Oct 15, 2023 20:568,809125,649,90173,114,36802,265,088
14Oct 15, 2023 20:568,84698,937,83272,417,0001,005,0002,265,088
15Oct 15, 2023 20:569,240101,018,64373,668,0003,027,0002,260,992