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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:32Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:32035,736,72726,778,0001,031,0002,113,536expected "74600294196621100 ", got "74534756618735877 "
2Jul 6, 2026 17:32038,840,74329,793,0001,030,0002,113,536expected "74600294196621100 ", got "74535197521837120 "
3Jul 6, 2026 17:32036,251,22027,244,0001,038,0002,113,536expected "74600294196621100 ", got "74534756013763647 "
4Apr 27, 2026 10:263,40747,777,40827,273,0001,010,0002,482,176
5Apr 27, 2026 10:263,58348,957,64327,764,0001,983,0002,330,624
6Apr 27, 2026 10:263,60045,126,13927,894,0001,992,0002,482,176
7Apr 27, 2026 10:263,61647,048,26728,016,0002,001,0002,551,808
8Apr 27, 2026 10:263,61755,611,44728,027,0002,001,0002,494,464
9Apr 27, 2026 10:263,62047,802,51628,049,0002,003,0002,478,080
10Apr 27, 2026 10:263,62350,129,23429,074,0001,002,0002,478,080
11Apr 27, 2026 10:263,63445,347,91329,165,0001,005,0002,490,368
12Apr 27, 2026 10:263,64049,065,10429,210,0001,007,0002,330,624