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 listMay 24, 2021 05:02evgenikwtevgenikwtScore: 52,871Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 05:0252,850495,108,771438,651,32002,273,280
2May 24, 2021 05:0552,858505,665,155438,718,70902,269,184
3May 24, 2021 05:0552,863517,450,561438,761,76802,265,088
4May 24, 2021 05:0252,871504,808,339438,826,01002,260,992
5May 24, 2021 05:0252,872506,910,157438,834,66302,269,184
6May 24, 2021 05:0552,877507,289,963438,877,47002,269,184