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 27, 2025 07:43sheryllynn24sheryllynn24Score: 6,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 27, 2025 07:436,19580,433,98150,412,0001,008,0002,523,136
2Sep 27, 2025 07:436,20372,413,68951,489,00002,523,136
3Sep 27, 2025 07:436,36380,513,09250,821,0001,992,0002,289,664
4Sep 27, 2025 07:436,37379,160,01050,904,0001,996,0002,523,136
5Sep 27, 2025 07:436,42781,380,93051,331,0002,013,0002,523,136
6Sep 27, 2025 07:437,28987,039,28558,515,0001,983,0002,289,664