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 4, 2026 10:29limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 01:46Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 01:47045,169,34233,363,0002,195,0002,113,536expected "74600294196621100 ", got "74528217704148780"
2Jul 7, 2026 01:47045,503,09532,630,0003,222,0002,113,536expected "74600294196621100 ", got "74528217704148780"
3Jul 7, 2026 01:47045,428,29232,243,0003,258,0002,113,536expected "74600294196621100 ", got "74599988362063660"
4May 4, 2026 10:294,42056,301,44933,474,0003,219,0002,510,848
5May 4, 2026 10:294,45252,260,21533,708,0003,250,0002,498,560
6May 4, 2026 10:294,45856,644,25333,673,0003,333,0002,498,560
7May 4, 2026 10:294,46051,922,98333,425,0003,596,0002,494,464
8May 4, 2026 10:294,46755,078,24533,888,0003,194,0002,510,848
9May 4, 2026 10:294,47755,447,36533,899,0003,266,0002,490,368
10May 4, 2026 10:294,48555,530,48133,711,0003,518,0002,502,656
11May 4, 2026 10:294,50755,733,27333,978,0003,438,0002,498,560
12May 4, 2026 10:294,52055,452,84634,283,0003,236,0002,502,656