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 9, 2026 14:36wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 02:10Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 02:10039,631,31729,281,0001,007,0002,113,536expected "74600294196621100 ", got "74535222819547230 "
2Jul 4, 2026 02:10035,869,81226,884,0001,007,0002,113,536expected "74600294196621100 ", got "74534752253729549 "
3Jul 4, 2026 02:10034,880,29626,081,0001,043,0002,113,536expected "74600294196621100 ", got "74534897253468230 "
4May 9, 2026 14:373,38440,552,42527,065,0001,025,0002,486,272
5May 9, 2026 14:373,38945,250,12327,061,0001,068,0002,486,272
6May 9, 2026 14:373,39442,436,66727,100,0001,077,0002,482,176
7May 9, 2026 14:373,39943,235,66927,148,0001,069,0002,482,176
8May 9, 2026 14:373,41843,443,14827,308,0001,064,0002,482,176
9May 9, 2026 14:373,44942,870,13427,569,0001,063,0002,494,464
10May 9, 2026 14:373,53545,424,08928,272,0001,074,0002,490,368
11May 9, 2026 14:373,58342,623,83428,681,0001,058,0002,482,176
12May 9, 2026 14:373,58845,878,88528,710,0001,077,0002,478,080