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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:48Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:48035,868,73626,846,0001,037,0002,113,536expected "74600294196621100 ", got "74534752848708076 "
2Jul 6, 2026 16:48036,329,11427,119,0001,016,0002,113,536expected "74600294196621100 ", got "74534759036322086 "
3Jul 6, 2026 16:48035,805,36326,768,0001,045,0002,113,536expected "74600294196621100 ", got "74534687386373661 "
4Apr 27, 2026 05:483,41945,361,17127,368,0001,013,0002,486,272
5Apr 27, 2026 05:483,45547,523,76627,657,0001,024,0002,486,272
6Apr 27, 2026 05:483,47245,587,79626,836,0001,987,0002,482,176
7Apr 27, 2026 05:483,47749,468,02226,874,0001,990,0002,482,176
8Apr 27, 2026 05:483,52549,536,26228,254,0001,009,0002,482,176
9Apr 27, 2026 05:483,59147,765,51827,826,0001,987,0002,486,272
10Apr 27, 2026 05:483,62344,567,79528,069,0002,004,0002,482,176
11Apr 27, 2026 05:483,62746,539,25628,099,0002,007,0002,478,080
12Apr 27, 2026 05:483,64550,098,59029,250,0001,008,0002,486,272