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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:12Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:12035,761,58426,794,0001,030,0002,113,536expected "74600294196621100 ", got "74534751552436089 "
2Jul 6, 2026 16:12036,061,12027,061,0001,028,0002,113,536expected "74600294196621100 ", got "74534749114201089 "
3Jul 6, 2026 16:12035,984,81127,032,0001,005,0002,113,536expected "74600294196621100 ", got "74534673710038584 "
4Apr 26, 2026 15:213,41044,319,52327,294,0001,010,0002,330,624
5Apr 26, 2026 15:213,42347,039,19027,399,0001,014,0002,486,272
6Apr 26, 2026 15:213,47140,969,36726,828,0001,987,0002,490,368
7Apr 26, 2026 15:213,47744,911,13026,872,0001,990,0002,482,176
8Apr 26, 2026 15:213,47843,180,56826,881,0001,991,0002,330,624
9Apr 26, 2026 15:213,48145,705,03126,905,0001,992,0002,486,272
10Apr 26, 2026 15:213,52247,739,88228,232,0001,008,0002,486,272
11Apr 26, 2026 15:213,61543,495,84728,008,0002,000,0002,486,272
12Apr 26, 2026 15:213,65147,896,64529,298,0001,010,0002,490,368