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 24, 2026 12:07Dominique GarmierDominique GarmierScore: 35,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 29, 2026 01:1735,256316,360,942291,629,000998,0002,277,376
2Mar 29, 2026 01:1735,275317,574,208290,785,0001,998,0002,293,760
3Mar 29, 2026 01:1735,287314,902,563290,880,0001,999,0002,293,760
4Mar 24, 2026 12:0735,498329,360,551292,634,0001,997,0002,289,664
5Mar 24, 2026 12:0735,679321,281,522293,135,0003,001,0002,269,184
6Mar 24, 2026 12:0736,340330,495,176297,629,0003,995,0002,281,472