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 listJan 30, 2026 04:28Josu San MartinJosu San MartinScore: 6,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 30, 2026 04:286,33075,650,19750,520,0002,020,0002,277,376
2Jan 30, 2026 04:286,44374,995,89852,469,0001,009,0002,527,232
3Jan 30, 2026 04:286,48082,006,92051,793,0001,992,0002,523,136
4Jan 30, 2026 04:286,49078,465,74351,876,0001,995,0002,514,944
5Jan 30, 2026 04:286,56378,690,81053,462,0001,008,0002,469,888
6Jan 30, 2026 04:286,82679,263,23955,646,0001,011,0002,273,280