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 listAug 4, 2023 09:54sadfunsadfunScore: 76,608Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2023 09:5476,540694,102,807635,285,93902,236,416
2Aug 4, 2023 09:5476,541701,756,736635,293,97302,236,416
3Aug 4, 2023 09:5476,575708,056,325635,573,17202,232,320
4Aug 4, 2023 09:5476,608690,682,609635,847,82402,228,224
5Aug 4, 2023 09:5476,618698,940,424635,928,24102,236,416
6Aug 4, 2023 09:5476,755704,376,469637,068,00502,269,184