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 7, 2026 10:28wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:15035,735,21326,777,0001,024,0002,113,536expected "74600294196621100 ", got "74534754119868879 "
2Jul 6, 2026 15:15035,629,34726,633,0001,030,0002,113,536expected "74600294196621100 ", got "74534749764857419 "
3Jul 6, 2026 15:15036,501,48327,468,0001,034,0002,113,536expected "74600294196621100 ", got "74534751864379397 "
4May 7, 2026 10:293,39143,627,40027,082,0001,066,0002,486,272
5May 7, 2026 10:293,39343,400,13427,109,0001,054,0002,482,176
6May 7, 2026 10:293,39942,689,70527,156,0001,061,0002,490,368
7May 7, 2026 10:293,40145,406,48827,166,0001,065,0002,490,368
8May 7, 2026 10:293,42844,043,97427,343,0001,112,0002,482,176
9May 7, 2026 10:293,44144,745,02127,492,0001,075,0002,482,176
10May 7, 2026 10:293,45946,228,14027,596,0001,115,0002,482,176
11May 7, 2026 10:293,52544,302,85928,188,0001,074,0002,482,176
12May 7, 2026 10:293,55144,354,97328,380,0001,097,0002,482,176