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 26, 2026 15:35wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:47Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:47037,325,15328,292,0001,035,0002,113,536expected "74600294196621100 ", got "74535199384159470 "
2Jul 6, 2026 15:47036,124,12527,099,0001,040,0002,113,536expected "74600294196621100 ", got "74534752219434316 "
3Jul 6, 2026 15:47037,138,00627,653,0001,123,0002,113,536expected "74600294196621100 ", got "74534897576859570 "
4Apr 26, 2026 15:353,39543,367,94027,174,0001,006,0002,482,176
5Apr 26, 2026 15:353,39842,175,71027,198,0001,007,0002,490,368
6Apr 26, 2026 15:353,41545,010,25727,336,0001,012,0002,490,368
7Apr 26, 2026 15:353,44250,007,59828,570,00002,482,176
8Apr 26, 2026 15:353,45943,855,64526,733,0001,980,0002,330,624
9Apr 26, 2026 15:353,51546,996,97928,171,0001,006,0002,482,176
10Apr 26, 2026 15:353,59041,527,68827,817,0001,986,0002,465,792
11Apr 26, 2026 15:353,60646,402,14227,940,0001,995,0002,482,176
12Apr 26, 2026 15:353,65949,066,47729,360,0001,012,0002,482,176