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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:31Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:31036,234,89426,983,0001,034,0002,113,536expected "74600294196621100 ", got "74534751958730409 "
2Jul 6, 2026 16:31037,330,93527,904,0001,037,0002,113,536expected "74600294196621100 ", got "74534681719558664 "
3Jul 6, 2026 16:31037,703,45628,265,0001,020,0002,113,536expected "74600294196621100 ", got "74534747221075749 "
4May 10, 2026 11:353,38345,434,39027,026,0001,055,0002,490,368
5May 10, 2026 11:353,39142,159,98527,094,0001,059,0002,482,176
6May 10, 2026 11:353,40044,537,32027,190,0001,032,0002,482,176
7May 10, 2026 11:353,41544,181,81227,279,0001,073,0002,486,272
8May 10, 2026 11:353,49746,150,50827,925,0001,107,0002,482,176
9May 10, 2026 11:353,55547,891,82228,436,0001,077,0002,478,080
10May 10, 2026 11:353,57147,876,91228,542,0001,103,0002,478,080
11May 10, 2026 11:353,57147,534,89628,556,0001,089,0002,494,464
12May 10, 2026 11:353,57246,702,70028,561,0001,093,0002,482,176