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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:20Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:20035,891,30327,079,0001,033,0002,113,536expected "74600294196621100 ", got "74534753486322299 "
2Jul 6, 2026 15:20038,197,17228,758,0001,208,0002,113,536expected "74600294196621100 ", got "74534755733641388 "
3Jul 6, 2026 15:20038,233,03029,409,0001,005,0002,113,536expected "74600294196621100 ", got "74535198111781120 "
4May 10, 2026 11:103,41643,974,37827,301,0001,054,0002,478,080
5May 10, 2026 11:103,41941,489,64027,345,0001,033,0002,494,464
6May 10, 2026 11:103,41944,068,73427,325,0001,060,0002,486,272
7May 10, 2026 11:103,42140,907,09427,357,0001,043,0002,490,368
8May 10, 2026 11:103,43842,998,16827,500,0001,037,0002,482,176
9May 10, 2026 11:103,46842,724,64827,692,0001,098,0002,482,176
10May 10, 2026 11:103,64348,823,55929,160,0001,083,0002,486,272
11May 10, 2026 11:103,65145,400,75529,232,0001,077,0002,482,176
12May 10, 2026 11:103,68346,158,74629,448,0001,122,0002,490,368