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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:37Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:37039,311,29130,301,0001,009,0002,113,536expected "74600294196621100 ", got "74535197998498130 "
2Jul 6, 2026 16:37037,260,11428,235,0001,031,0002,113,536expected "74600294196621100 ", got "74534680780068234 "
3Jul 6, 2026 16:37037,472,90528,091,0001,020,0002,113,536expected "74600294196621100 ", got "74534753877972389 "
4Apr 27, 2026 10:123,43244,814,55527,470,0001,017,0002,502,656
5Apr 27, 2026 10:123,44645,724,46827,586,0001,021,0002,482,176
6Apr 27, 2026 10:123,45547,998,34627,653,0001,024,0002,490,368
7Apr 27, 2026 10:123,46345,052,72127,722,0001,026,0002,330,624
8Apr 27, 2026 10:123,50946,286,72627,117,0002,008,0002,490,368
9Apr 27, 2026 10:123,55743,966,15128,507,0001,018,0002,490,368
10Apr 27, 2026 10:123,59044,647,11328,772,0001,027,0002,486,272
11Apr 27, 2026 10:123,63744,397,20529,189,0001,006,0002,494,464
12Apr 27, 2026 10:123,64951,260,29029,278,0001,009,0002,482,176