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 listMay 7, 2026 10:09wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 22:39Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 22:39039,398,71230,118,0001,007,0002,113,536expected "74600294196621100 ", got "74535227855462430 "
2Jul 3, 2026 22:39035,715,56726,711,0001,042,0002,113,536expected "74600294196621100 ", got "74534750879044409 "
3Jul 3, 2026 22:39035,648,66726,684,0001,001,0002,113,536expected "74600294196621100 ", got "74534754834638388 "
4May 7, 2026 10:093,38040,786,18126,957,0001,097,0002,486,272
5May 7, 2026 10:093,39042,579,15727,080,0001,062,0002,486,272
6May 7, 2026 10:093,39744,448,91127,123,0001,080,0002,490,368
7May 7, 2026 10:093,40144,856,60327,137,0001,094,0002,490,368
8May 7, 2026 10:093,40244,374,43927,166,0001,076,0002,486,272
9May 7, 2026 10:093,58546,383,95728,667,0001,092,0002,494,464
10May 7, 2026 10:093,58944,025,16028,709,0001,080,0002,494,464
11May 7, 2026 10:093,59544,690,24328,678,0001,162,0002,478,080
12May 7, 2026 10:093,61545,077,08928,911,0001,098,0002,482,176