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 29, 2021 21:31Andrey TsvetkovAndrey TsvetkovScore: 33,232Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 21:3133,213346,470,754275,665,63702,187,264
2Sep 9, 2021 15:1233,217351,045,473275,703,96502,306,048
3Sep 9, 2021 15:1133,218342,746,391275,712,82502,191,360
4Sep 9, 2021 15:1233,226337,837,895275,777,99202,187,264
5Sep 9, 2021 15:1133,232337,796,944275,821,58802,306,048
6Sep 9, 2021 15:1233,238334,379,162275,876,39502,187,264
7Sep 29, 2021 21:3133,238336,335,237275,874,48902,183,168
8Sep 9, 2021 15:1133,239343,898,402275,881,23502,179,072
9Sep 29, 2021 21:3133,240339,577,149275,890,93702,191,360