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 08:35wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:33Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:33037,706,94028,304,0001,035,0002,113,536expected "74600294196621100 ", got "74534684143209664 "
2Jul 6, 2026 16:33037,751,87328,707,0001,032,0002,113,536expected "74600294196621100 ", got "74535199308064460 "
3Jul 6, 2026 16:33039,358,55730,227,0001,020,0002,113,536expected "74600294196621100 ", got "74535197045931120 "
4May 7, 2026 08:353,39243,526,93627,111,0001,049,0002,486,272
5May 7, 2026 08:353,39244,978,75927,100,0001,060,0002,482,176
6May 7, 2026 08:353,42643,552,39227,326,0001,115,0002,490,368
7May 7, 2026 08:353,44245,605,40227,458,0001,117,0002,482,176
8May 7, 2026 08:353,49945,198,88927,959,0001,084,0002,486,272
9May 7, 2026 08:353,54446,584,54228,347,0001,076,0002,478,080
10May 7, 2026 08:353,56544,829,38228,526,0001,067,0002,498,560
11May 7, 2026 08:353,57643,641,56828,622,0001,063,0002,490,368
12May 7, 2026 08:353,58447,013,28528,686,0001,062,0002,486,272