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 listJun 28, 2021 22:42Andrey TsvetkovAndrey TsvetkovScore: 50,322Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 18:4650,297476,128,437417,466,64902,220,032
2Jun 20, 2021 18:4650,307475,351,323417,548,64002,228,224
3Jun 20, 2021 18:4650,312487,609,271417,589,28702,215,936
4Jun 28, 2021 22:4250,322481,094,988417,668,99402,215,936
5Jun 28, 2021 22:4250,331475,088,659417,748,01002,211,840
6Jun 28, 2021 22:4250,332477,796,508417,755,18802,220,032