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 22, 2025 17:04vahookvahookScore: 4,566Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2025 17:044,50158,083,45735,336,0002,019,0002,531,328
2May 22, 2025 17:044,53365,401,93935,589,0002,033,0002,527,232
3May 22, 2025 17:044,55964,133,17533,857,0003,983,0002,433,024
4May 22, 2025 17:044,56662,794,72334,909,0002,992,0002,416,640
5May 22, 2025 17:044,57459,898,05733,970,0003,996,0002,531,328
6May 22, 2025 17:044,59357,235,49635,111,0003,009,0002,531,328