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 19:53Serge SmirnovSerge SmirnovScore: 35,425Success
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 17:4435,395350,069,330293,778,93102,277,376
2Oct 11, 2023 19:5835,404355,795,614293,853,79402,281,472
3Oct 11, 2023 19:5335,410354,336,056293,898,85102,297,856
4Oct 11, 2023 17:4435,421360,224,807293,992,38802,293,760
5Oct 11, 2023 19:5835,425347,932,720294,031,14902,289,664
6Oct 11, 2023 19:5835,425346,393,518294,030,26502,285,568
7Oct 11, 2023 19:5335,431358,254,655294,079,31602,285,568
8Oct 11, 2023 19:5335,450362,548,047294,234,08702,277,376
9Oct 11, 2023 17:4436,948373,304,921306,667,42802,281,472