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 3, 2026 12:42limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:15052,699,68540,828,0002,222,0002,113,536expected "74600294196621100 ", got "74528204596948780"
2Jul 7, 2026 05:15052,757,42040,879,0002,263,0002,113,536expected "74600294196621100 ", got "74528204596948780"
3Jul 7, 2026 05:155,42154,704,49141,697,0003,303,0002,113,536
4May 3, 2026 12:425,55367,879,60442,085,0004,008,0002,424,832
5May 3, 2026 12:425,56662,225,16143,193,0003,013,0002,306,048
6May 3, 2026 12:425,60362,496,73441,563,0004,948,0002,433,024
7May 3, 2026 12:425,60961,121,25942,513,0004,048,0002,445,312
8May 3, 2026 12:425,64160,649,95341,846,0004,981,0002,543,616
9May 3, 2026 12:425,67259,034,15943,072,0004,006,0002,527,232
10May 3, 2026 12:425,70560,299,92243,323,0004,030,0002,416,640
11May 3, 2026 12:425,70563,788,43044,335,0003,022,0002,437,120
12May 3, 2026 12:425,81561,877,91244,248,0004,022,0002,461,696