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 8, 2026 08:32caandocaandoScore: 9,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2026 08:328,961101,157,88074,374,00002,273,280
2Mar 8, 2026 08:328,96697,568,51471,402,0003,017,0002,535,424
3Mar 8, 2026 08:328,97998,344,30673,519,0001,007,0002,523,136
4Mar 8, 2026 08:329,764105,503,47680,045,0001,000,0002,269,184
5Mar 8, 2026 08:329,815105,696,87581,462,00002,273,280
6Mar 8, 2026 08:329,817108,302,83480,489,000993,0002,273,280