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 listApr 26, 2026 15:00wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:23Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:23037,603,62728,125,0001,071,0002,113,536expected "74600294196621100 ", got "74534747415536429 "
2Jul 6, 2026 17:23037,869,53128,891,0001,002,0002,113,536expected "74600294196621100 ", got "74535198294628830 "
3Jul 6, 2026 17:23035,904,35127,085,0001,039,0002,113,536expected "74600294196621100 ", got "74534677621264674 "
4Apr 26, 2026 15:003,40641,814,38227,266,0001,009,0002,490,368
5Apr 26, 2026 15:003,41043,876,36227,294,0001,010,0002,482,176
6Apr 26, 2026 15:003,42349,929,05427,400,0001,014,0002,494,464
7Apr 26, 2026 15:003,53346,095,14328,313,0001,011,0002,486,272
8Apr 26, 2026 15:003,58946,802,12327,806,0001,986,0002,486,272
9Apr 26, 2026 15:003,59344,098,12127,838,0001,988,0002,486,272
10Apr 26, 2026 15:003,60447,291,25727,920,0001,994,0002,486,272
11Apr 26, 2026 15:003,61650,589,14328,019,0002,001,0002,482,176
12Apr 26, 2026 15:003,62045,838,94228,043,0002,003,0002,478,080