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

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 23:14Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 23:14037,964,86529,172,0001,008,0002,113,536expected "74600294196621100 ", got "74535197697856790 "
2Jul 3, 2026 23:14035,423,42726,621,0001,028,0002,113,536expected "74600294196621100 ", got "74534898006479860 "
3Jul 3, 2026 23:14036,408,83627,616,0001,030,0002,113,536expected "74600294196621100 ", got "74534754263982409 "
4May 10, 2026 11:023,38144,558,49027,016,0001,049,0002,478,080
5May 10, 2026 11:023,39044,315,95727,054,0001,088,0002,494,464
6May 10, 2026 11:023,39243,900,68927,093,0001,065,0002,486,272
7May 10, 2026 11:023,40046,961,69527,159,0001,065,0002,494,464
8May 10, 2026 11:023,40544,601,92227,168,0001,101,0002,494,464
9May 10, 2026 11:023,45843,117,61327,630,0001,077,0002,490,368
10May 10, 2026 11:023,55944,312,82228,497,0001,048,0002,478,080
11May 10, 2026 11:023,56449,036,27828,491,0001,091,0002,486,272
12May 10, 2026 11:023,57544,938,06828,597,0001,081,0002,482,176