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 30, 2025 21:03Adam FolwarcznyAdam FolwarcznyScore: 10,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2025 21:0310,140118,330,66949,508,00034,655,0002,502,656
2Aug 30, 2025 21:0310,307111,745,66451,134,00034,417,0002,330,624
3Aug 30, 2025 21:0310,375118,390,15248,498,00037,611,0002,433,024
4Aug 30, 2025 21:0310,393116,802,53352,933,00033,328,0002,519,040
5Aug 30, 2025 21:0310,397113,309,75048,604,00037,693,0002,502,656
6Aug 30, 2025 21:0310,467112,790,37248,375,00038,502,0002,527,232