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 4, 2021 19:59Andrey TsvetkovAndrey TsvetkovScore: 59,865Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 19:5959,836560,451,563496,642,21402,252,800
2Sep 4, 2021 20:0059,848551,448,085496,737,65902,252,800
3Sep 4, 2021 20:0059,851561,762,817496,760,52202,248,704
4Sep 4, 2021 19:5959,865560,369,171496,880,96402,252,800
5Sep 4, 2021 20:0059,866562,169,055496,887,37902,265,088
6Sep 4, 2021 19:5959,879558,759,684496,992,19002,269,184