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 9, 2026 12:17wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:10Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:10037,816,53928,907,0001,032,0002,113,536expected "74600294196621100 ", got "74535214178420370 "
2Jul 6, 2026 17:10035,520,56926,641,0001,084,0002,113,536expected "74600294196621100 ", got "74534756513266069 "
3Jul 6, 2026 17:10035,036,81526,026,0001,010,0002,113,536expected "74600294196621100 ", got "74534898241343860 "
4May 9, 2026 12:173,44444,103,94927,526,0001,064,0002,490,368
5May 9, 2026 12:173,44843,108,24027,530,0001,092,0002,482,176
6May 9, 2026 12:173,55246,138,75428,407,0001,081,0002,486,272
7May 9, 2026 12:173,56246,222,17428,498,0001,074,0002,486,272
8May 9, 2026 12:173,56246,844,36628,475,0001,093,0002,473,984
9May 9, 2026 12:173,56445,193,52028,505,0001,081,0002,494,464
10May 9, 2026 12:173,56547,686,18428,510,0001,081,0002,490,368
11May 9, 2026 12:173,56545,113,12928,507,0001,086,0002,494,464
12May 9, 2026 12:173,57445,877,27628,596,0001,073,0002,486,272