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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:57Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:58035,789,71226,800,0001,009,0002,113,536expected "74600294196621100 ", got "74534755671592308 "
2Jul 6, 2026 15:58035,989,20326,983,0001,042,0002,113,536expected "74600294196621100 ", got "74534757330354749 "
3Jul 6, 2026 15:58037,100,64028,100,0001,005,0002,113,536expected "74600294196621100 ", got "74534757204560318 "
4Apr 26, 2026 16:073,39943,452,52827,212,0001,007,0002,486,272
5Apr 26, 2026 16:073,40542,098,32527,254,0001,009,0002,486,272
6Apr 26, 2026 16:073,42047,518,71327,377,0001,013,0002,490,368
7Apr 26, 2026 16:073,45642,119,05327,669,0001,024,0002,482,176
8Apr 26, 2026 16:073,46641,570,05126,785,0001,984,0002,478,080
9Apr 26, 2026 16:073,47046,898,82226,823,0001,986,0002,486,272
10Apr 26, 2026 16:073,49247,133,93526,990,0001,999,0002,482,176
11Apr 26, 2026 16:073,56346,236,51528,555,0001,019,0002,482,176
12Apr 26, 2026 16:073,61846,272,55628,031,0002,002,0002,486,272