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 19, 2026 04:11wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:39Victor Mercklé22.14CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:40041,162,17732,152,0001,001,0002,113,536expected "74600294196621100 ", got "74535565232720730 "
2Jul 6, 2026 17:40038,408,15329,324,0001,044,0002,113,536expected "74600294196621100 ", got "74534897549535570 "
3Jul 6, 2026 17:40038,665,48029,667,0001,010,0002,113,536expected "74600294196621100 ", got "74534441586707170 "
4Apr 19, 2026 04:113,69559,813,24529,647,0001,022,0002,269,184
5Apr 19, 2026 04:113,69659,555,43829,654,0001,022,0002,531,328
6Apr 19, 2026 04:113,69860,584,28229,671,0001,023,0002,531,328
7Apr 19, 2026 04:113,71556,844,93528,849,0001,989,0002,531,328
8Apr 19, 2026 04:113,71560,122,33329,837,000994,0002,531,328
9Apr 19, 2026 04:113,71854,671,21528,868,0001,990,0002,269,184
10Apr 19, 2026 04:113,73156,656,18628,972,0001,998,0002,494,464
11Apr 19, 2026 04:113,85751,847,29530,014,0002,000,0002,490,368
12Apr 19, 2026 04:113,86853,280,88430,102,0002,006,0002,531,328