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 25, 2026 06:22wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:36Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:36041,497,97431,908,0001,010,0002,113,536expected "74600294196621100 ", got "74534681007718214 "
2Jul 6, 2026 18:36041,949,54832,898,0001,023,0002,113,536expected "74600294196621100 ", got "74535197730183120 "
3Jul 6, 2026 18:36040,703,10931,678,0001,005,0002,113,536expected "74600294196621100 ", got "74534754659939308 "
4Jun 25, 2026 06:223,92740,686,69631,591,0001,005,0002,113,536
5Jun 25, 2026 06:223,95540,469,59131,824,0001,006,0002,113,536
6Jun 25, 2026 06:223,97940,676,14931,999,0001,029,0002,113,536
7Jun 25, 2026 06:223,98041,294,55232,028,0001,010,0002,113,536
8Jun 25, 2026 06:223,99440,817,31632,146,0001,007,0002,113,536
9Jun 25, 2026 06:223,99640,898,47732,132,0001,042,0002,113,536
10Jun 25, 2026 06:224,01041,350,17132,282,0001,004,0002,113,536
11Jun 25, 2026 06:224,02341,415,30932,386,0001,006,0002,113,536
12Jun 25, 2026 06:224,03742,926,15232,507,0001,007,0002,113,536