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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:52Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:52038,028,19028,496,0001,005,0002,113,536expected "74600294196621100 ", got "74534685364072904 "
2Jul 6, 2026 16:52039,688,72430,275,0001,020,0002,113,536expected "74600294196621100 ", got "74535199261685470 "
3Jul 6, 2026 16:52035,740,63426,901,0001,027,0002,113,536expected "74600294196621100 ", got "74534682129385423 "
4May 7, 2026 10:023,38643,990,51527,054,0001,057,0002,490,368
5May 7, 2026 10:023,42244,515,51827,303,0001,102,0002,478,080
6May 7, 2026 10:023,45142,067,28827,567,0001,082,0002,486,272
7May 7, 2026 10:023,45444,868,94527,591,0001,081,0002,490,368
8May 7, 2026 10:023,53643,676,13228,246,0001,107,0002,478,080
9May 7, 2026 10:023,59345,732,27028,749,0001,081,0002,482,176
10May 7, 2026 10:023,59644,567,66728,742,0001,108,0002,486,272
11May 7, 2026 10:023,59844,899,26028,733,0001,134,0002,490,368
12May 7, 2026 10:023,87450,462,55929,104,0003,057,0002,478,080