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 18, 2026 15:51Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 00:01Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 00:01042,725,99633,575,0001,079,0002,117,632expected "74600294196621100 ", got "22319314339540780 "
2Jul 7, 2026 00:01050,219,74733,615,0001,146,0002,117,632expected "74600294196621100 ", got "22319314339540780 "
3Jul 7, 2026 00:01041,985,90433,092,0001,015,0002,117,632expected "74600294196621100 ", got "20757059889770284 "
4Apr 18, 2026 15:514,28261,896,72834,529,0001,015,0002,469,888
5Apr 18, 2026 15:514,28257,375,89134,529,0001,015,0002,535,424
6Apr 18, 2026 15:514,28467,733,87434,543,0001,015,0002,535,424
7Apr 18, 2026 15:514,28861,234,54834,574,0001,016,0002,535,424
8Apr 18, 2026 15:514,29957,960,01433,696,0001,982,0002,469,888
9Apr 18, 2026 15:514,31863,056,06033,850,0001,991,0002,469,888
10Apr 18, 2026 15:514,31862,268,86634,847,000995,0002,478,080
11Apr 18, 2026 15:514,31964,549,45234,854,000995,0002,473,984
12Apr 18, 2026 15:514,32456,807,15033,898,0001,994,0002,310,144
13Apr 18, 2026 15:514,32561,227,01133,904,0001,994,0002,473,984
14Apr 18, 2026 15:514,33257,561,26933,960,0001,997,0002,273,280
15Apr 18, 2026 15:514,33259,633,83234,958,000998,0002,535,424