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 listMay 4, 2026 11:06limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 24, 2026 20:33Victor Mercklé10.00CustomSolution Broken
May 22, 2026 07:14Victor Mercklé10.00RecheckSolution Held
May 18, 2026 12:58Victor Mercklé10.00CustomSolution Held
May 18, 2026 11:44Victor Mercklé10.00CustomSolution Held
May 17, 2026 15:11M-Rochat10.00CustomSolution Held
May 17, 2026 14:27M-Rochat10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2026 20:34046,187,52433,407,0002,176,0002,113,536expected "74600294196621100 ", got "74528217704148780"
2May 24, 2026 20:34046,703,82134,025,0002,240,0002,113,536expected "74600294196621100 ", got "74528217704148780"
3May 24, 2026 20:34045,222,01733,040,0002,254,0002,113,536expected "74600294196621100 ", got "74528217704148780"
4May 22, 2026 07:144,32646,306,40833,604,0002,307,0002,113,536
5May 22, 2026 07:144,34245,959,73432,755,0003,290,0002,113,536
6May 4, 2026 11:064,34351,965,47733,792,0002,263,0002,494,464
7May 4, 2026 11:064,36652,595,90733,097,0003,145,0002,494,464
8May 4, 2026 11:064,38054,166,23533,118,0003,236,0002,498,560
9May 4, 2026 11:064,39052,644,07334,172,0002,265,0002,498,560
10May 22, 2026 07:144,39348,794,32034,286,0002,183,0002,113,536
11May 4, 2026 11:064,39454,442,32534,198,0002,277,0002,498,560
12May 4, 2026 11:064,40455,481,34833,461,0003,093,0002,498,560
13May 4, 2026 11:064,41852,556,59433,519,0003,154,0002,502,656
14May 4, 2026 11:064,46455,172,98733,971,0003,082,0002,502,656
15May 4, 2026 11:064,50753,031,70034,302,0003,111,0002,506,752