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 listApr 14, 2024 09:57E SequeiraE SequeiraScore: 19,368Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2024 09:5719,211232,602,443159,448,21102,236,416
2Apr 14, 2024 09:5719,276228,319,322159,987,27402,228,224
3Apr 14, 2024 09:5819,344218,090,839160,554,63802,220,032
4Apr 14, 2024 09:5819,368222,115,479160,757,00502,232,320
5Apr 14, 2024 09:5819,528230,200,159162,085,59902,228,224
6Apr 14, 2024 09:5719,559228,836,262162,337,94102,252,800