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 listJul 7, 2026 03:49wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:50Victor Mercklé21.13CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:50035,546,30126,670,0001,036,0002,113,536expected "74600294196621100 ", got "74601102087509569 "
2Jul 7, 2026 03:50035,875,82026,870,0001,008,0002,113,536expected "74600294196621100 ", got "74601031966620623 "
3Jul 7, 2026 03:50038,497,56826,773,0001,007,0002,113,536expected "74600294196621100 ", got "74601102286400569 "
4Jul 7, 2026 03:503,28535,194,16026,232,0001,035,0002,113,536
5Jul 7, 2026 03:503,31435,352,07326,479,0001,028,0002,113,536
6Jul 7, 2026 03:503,32835,499,55326,621,0001,006,0002,113,536
7Jul 7, 2026 03:503,33335,735,44026,662,0001,005,0002,113,536
8Jul 7, 2026 03:503,43036,352,86027,452,0001,023,0002,113,536
9Jul 7, 2026 03:503,46136,828,09827,715,0001,018,0002,113,536
10Jul 7, 2026 03:503,47536,642,99027,835,0001,010,0002,113,536
11Jul 7, 2026 03:503,47936,734,08527,864,0001,013,0002,113,536
12Jul 7, 2026 03:503,50137,619,80628,037,0001,022,0002,113,536