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 listMar 21, 2026 09:41olliecrowolliecrowError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:47Victor Mercklé10.00CustomSolution Broken
Apr 21, 2026 18:26Yuriy Lyfenko10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:480435,078,649426,148,0001,171,0002,113,536expected "74600294196621100 ", got "55878800616084780 "
2Jul 7, 2026 05:480429,038,148419,997,0001,198,0002,113,536expected "74600294196621100 ", got "55687523161742124 "
3Jul 7, 2026 05:480431,870,215422,940,0001,188,0002,113,536expected "74600294196621100 ", got "56174319181602092 "
4Mar 21, 2026 09:415,71465,982,39643,393,0004,036,0002,424,832
5Mar 21, 2026 09:415,79371,939,74244,074,0004,006,0002,367,488
6Mar 21, 2026 09:415,84775,368,92545,496,0003,033,0002,289,664