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 11, 2023 15:32Serge SmirnovSerge SmirnovScore: 37,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2023 15:3237,314375,221,091309,706,27002,289,664
2Oct 11, 2023 15:3337,318400,477,026309,742,20302,285,568
3Oct 11, 2023 15:3237,320373,984,674309,754,94702,285,568
4Oct 11, 2023 15:3337,325377,185,666309,800,29602,281,472
5Oct 11, 2023 15:3237,341380,222,533309,929,67802,281,472
6Oct 11, 2023 15:3337,344367,263,165309,957,39702,273,280
7Oct 11, 2023 15:3237,353379,928,877310,029,55202,293,760
8Oct 11, 2023 15:3237,367369,783,194310,150,02802,281,472
9Oct 11, 2023 15:3238,442380,844,085319,067,95102,289,664