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 listJun 30, 2026 21:48Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 8, 2026 12:56wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 12:56055,381,38445,092,0002,076,0002,113,536expected "99999998035666997 ", got "86414767501444619 "
2Jul 8, 2026 12:56056,025,89145,698,0002,269,0002,113,536expected "99999998993828727 ", got "86414768460344619 "
3Jul 8, 2026 12:56055,271,84545,160,0002,066,0002,113,536expected "99999998569320993 ", got "86414767435444619 "
4Jun 30, 2026 21:485,81956,219,02546,134,0002,164,0002,113,536
5Jun 30, 2026 21:485,82856,142,62346,221,0002,153,0002,113,536
6Jun 30, 2026 21:485,82956,279,08946,242,0002,145,0002,113,536
7Jun 30, 2026 21:485,86156,661,28446,584,0002,066,0002,113,536
8Jun 30, 2026 21:485,87056,370,55446,589,0002,132,0002,113,536
9Jun 30, 2026 21:485,89856,664,18046,786,0002,174,0002,113,536
10Jun 30, 2026 21:485,91656,992,95246,950,0002,156,0002,113,536
11Jun 30, 2026 21:485,96057,212,35647,421,0002,049,0002,113,536
12Jun 30, 2026 21:485,97857,524,20047,454,0002,164,0002,113,536