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 16:14Andrey TsvetkovAndrey TsvetkovScore: 60,079Success
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 16:1360,076558,653,935498,630,56202,220,032
2Sep 9, 2021 16:1360,077570,371,549498,637,86002,228,224
3Sep 9, 2021 16:1460,078563,367,129498,643,31702,207,744
4Sep 9, 2021 16:1460,079571,977,582498,653,76602,215,936
5Sep 9, 2021 16:1460,095580,218,284498,788,12902,224,128
6Sep 9, 2021 16:1360,487563,971,265502,039,68502,220,032