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 27, 2026 05:42wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:16Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:16038,937,93830,022,0001,009,0002,113,536expected "74600294196621100 ", got "74535198673832790 "
2Jul 6, 2026 16:16036,221,80427,214,0001,037,0002,113,536expected "74600294196621100 ", got "74534751655653729 "
3Jul 6, 2026 16:16035,970,59226,997,0001,025,0002,113,536expected "74600294196621100 ", got "74534750568539078 "
4Apr 27, 2026 05:443,40742,525,32527,271,0001,010,0002,486,272
5Apr 27, 2026 05:443,44842,694,93327,598,0001,022,0002,486,272
6Apr 27, 2026 05:443,45642,001,12026,708,0001,978,0002,490,368
7Apr 27, 2026 05:443,46244,479,44626,754,0001,981,0002,486,272
8Apr 27, 2026 05:443,48241,708,03626,910,0001,993,0002,314,240
9Apr 27, 2026 05:443,52145,222,36128,221,0001,007,0002,482,176
10Apr 27, 2026 05:443,53045,780,06628,292,0001,010,0002,482,176
11Apr 27, 2026 05:443,59949,365,24727,883,0001,991,0002,490,368
12Apr 27, 2026 05:443,62146,705,71828,056,0002,004,0002,486,272