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 listMar 13, 2026 12:39Eric CeglieEric CeglieScore: 34,070Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 13, 2026 12:3934,054309,109,677278,652,0003,995,0002,502,656
2Mar 13, 2026 12:3934,065312,669,455282,739,00002,514,944
3Mar 13, 2026 12:3934,067308,580,838281,758,000999,0002,519,040
4Mar 13, 2026 12:3934,070314,751,306281,778,000999,0002,514,944
5Mar 13, 2026 12:3934,080312,522,450281,861,000999,0002,519,040
6Mar 13, 2026 12:3934,128313,712,418283,259,00002,519,040