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 29, 2021 12:18Andrey TsvetkovAndrey TsvetkovScore: 99,984Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 12:1899,861892,256,645828,844,13902,228,224
2Jul 18, 2021 22:3799,863895,740,939828,864,84902,224,128
3Jul 18, 2021 22:3799,923897,908,721829,358,44502,228,224
4Jun 29, 2021 12:1899,984886,573,455829,864,94402,224,128
5Jun 29, 2021 12:18100,036886,534,098830,295,79502,232,320
6Jul 18, 2021 22:37100,101899,839,838830,841,96802,203,648