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 27, 2026 05:38wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:43Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:43038,985,48929,979,0001,020,0002,113,536expected "74600294196621100 ", got "74535197854580790 "
2Jul 6, 2026 15:43037,867,79528,750,0001,037,0002,113,536expected "74600294196621100 ", got "74535198855161450 "
3Jul 6, 2026 15:43037,163,67128,169,0001,004,0002,113,536expected "74600294196621100 ", got "74534752021880409 "
4Apr 27, 2026 05:393,42044,279,72727,378,0001,014,0002,478,080
5Apr 27, 2026 05:393,42546,474,89427,419,0001,015,0002,310,144
6Apr 27, 2026 05:393,43341,908,18627,480,0001,017,0002,482,176
7Apr 27, 2026 05:393,44741,446,21326,645,0001,973,0002,490,368
8Apr 27, 2026 05:393,45545,649,02527,659,0001,024,0002,486,272
9Apr 27, 2026 05:393,45746,086,11027,674,0001,024,0002,486,272
10Apr 27, 2026 05:393,46244,101,61826,760,0001,982,0002,330,624
11Apr 27, 2026 05:393,58543,918,32127,778,0001,984,0002,482,176
12Apr 27, 2026 05:393,62444,804,09328,080,0002,005,0002,486,272