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 listSep 9, 2021 18:33Andrey TsvetkovAndrey TsvetkovScore: 32,854Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2021 18:3532,846328,649,617272,619,73202,215,936
2Sep 9, 2021 18:3532,848340,552,215272,640,95502,215,936
3Sep 9, 2021 18:3532,852338,087,313272,667,70902,215,936
4Sep 9, 2021 18:3332,854341,812,744272,687,09702,220,032
5Sep 9, 2021 18:3332,854327,390,262272,689,64402,220,032
6Sep 9, 2021 18:3332,879327,182,069272,892,07602,220,032