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 10:24wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 20:45Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 20:45039,009,70928,081,0001,005,0002,113,536expected "74600294196621100 ", got "74534753113011749 "
2Jul 3, 2026 20:45038,082,93429,170,0001,019,0002,113,536expected "74600294196621100 ", got "74535201643775820 "
3Jul 3, 2026 20:45036,696,20527,630,0001,024,0002,113,536expected "74600294196621100 ", got "74534756497321098 "
4May 10, 2026 10:253,39345,189,76727,095,0001,068,0002,482,176
5May 10, 2026 10:253,39745,397,05727,142,0001,061,0002,490,368
6May 10, 2026 10:253,39842,506,71827,158,0001,048,0002,482,176
7May 10, 2026 10:253,40043,021,10827,098,0001,123,0002,490,368
8May 10, 2026 10:253,40041,326,88927,166,0001,061,0002,478,080
9May 10, 2026 10:253,41342,426,04127,277,0001,059,0002,478,080
10May 10, 2026 10:253,54446,275,46528,296,0001,126,0002,478,080
11May 10, 2026 10:253,54942,385,23528,394,0001,068,0002,494,464
12May 10, 2026 10:253,56243,582,90228,501,0001,066,0002,478,080