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 9, 2026 14:23wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 23:51Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 23:52038,107,25929,128,0001,041,0002,113,536expected "74600294196621100 ", got "74535197665310790 "
2Jul 3, 2026 23:52039,492,47430,121,0001,005,0002,113,536expected "74600294196621100 ", got "74535198685541470 "
3Jul 3, 2026 23:52035,537,17026,773,0001,003,0002,113,536expected "74600294196621100 ", got "74534680549702664 "
4May 9, 2026 14:233,37643,822,01926,972,0001,050,0002,486,272
5May 9, 2026 14:233,38044,421,55426,986,0001,071,0002,482,176
6May 9, 2026 14:233,39044,140,28127,092,0001,049,0002,498,560
7May 9, 2026 14:233,40343,253,43427,190,0001,060,0002,482,176
8May 9, 2026 14:233,40744,531,23427,216,0001,068,0002,482,176
9May 9, 2026 14:233,49043,780,59127,905,0001,062,0002,482,176
10May 9, 2026 14:233,53445,034,68128,268,0001,068,0002,486,272
11May 9, 2026 14:233,54945,860,69028,365,0001,093,0002,494,464
12May 9, 2026 14:233,57246,362,37428,532,0001,122,0002,482,176