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 10, 2026 07:44Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 21:34Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 21:34042,332,58133,246,0001,021,0002,113,536expected "74600294196621100 ", got "32503026436805416 "
2Jul 6, 2026 21:34043,910,05334,788,0001,021,0002,113,536expected "74600294196621100 ", got "35384883945327404 "
3Jul 6, 2026 21:34042,422,82533,292,0001,025,0002,113,536expected "74600294196621100 ", got "32501681317282092 "
4May 10, 2026 07:444,21249,401,83533,924,0001,037,0002,490,368
5May 10, 2026 07:444,21750,611,94833,968,0001,036,0002,490,368
6May 10, 2026 07:444,22247,546,45634,012,0001,036,0002,482,176
7May 10, 2026 07:444,23049,078,50134,077,0001,039,0002,490,368
8May 10, 2026 07:444,23151,175,27034,087,0001,037,0002,486,272
9May 10, 2026 07:444,23147,444,38934,076,0001,042,0002,490,368
10May 10, 2026 07:444,23350,409,51734,101,0001,039,0002,482,176
11May 10, 2026 07:444,24151,108,32734,165,0001,040,0002,490,368
12May 10, 2026 07:444,24453,368,82534,184,0001,043,0002,490,368