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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:29Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:29036,522,45827,456,0001,025,0002,113,536expected "74600294196621100 ", got "74534736590909904 "
2Jul 6, 2026 16:29039,383,36229,999,0001,005,0002,113,536expected "74600294196621100 ", got "74535241886287300 "
3Jul 6, 2026 16:29039,557,01230,156,0001,012,0002,113,536expected "74600294196621100 ", got "74535242564028310 "
4Apr 26, 2026 15:233,47047,140,90526,819,0001,986,0002,486,272
5Apr 26, 2026 15:233,47044,360,01326,818,0001,986,0002,469,888
6Apr 26, 2026 15:233,47444,818,63026,850,0001,988,0002,490,368
7Apr 26, 2026 15:233,48641,956,66026,946,0001,996,0002,486,272
8Apr 26, 2026 15:233,49546,768,99027,014,0002,001,0002,482,176
9Apr 26, 2026 15:233,50647,686,55427,097,0002,007,0002,486,272
10Apr 26, 2026 15:233,51346,362,47928,156,0001,005,0002,482,176
11Apr 26, 2026 15:233,57444,378,21627,688,0001,977,0002,494,464
12Apr 26, 2026 15:233,65947,729,16230,377,00002,555,904