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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:22Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:22035,026,64526,142,0001,019,0002,113,536expected "74600294196621100 ", got "74534896955967570 "
2Jul 6, 2026 15:22035,869,61926,806,0001,108,0002,113,536expected "74600294196621100 ", got "74534757922703980 "
3Jul 6, 2026 15:22036,697,72027,732,0001,002,0002,113,536expected "74600294196621100 ", got "74534741557369399 "
4Apr 26, 2026 15:333,41642,511,39527,346,0001,012,0002,486,272
5Apr 26, 2026 15:333,42742,216,63627,434,0001,016,0002,478,080
6Apr 26, 2026 15:333,43342,124,12828,502,00002,482,176
7Apr 26, 2026 15:333,43841,857,59627,524,0001,019,0002,482,176
8Apr 26, 2026 15:333,44142,976,01827,547,0001,020,0002,482,176
9Apr 26, 2026 15:333,48341,135,95826,923,0001,994,0002,478,080
10Apr 26, 2026 15:333,55744,713,33628,508,0001,018,0002,486,272
11Apr 26, 2026 15:333,56846,823,40928,599,0001,021,0002,330,624
12Apr 26, 2026 15:333,63447,107,23028,159,0002,011,0002,486,272