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 22, 2026 11:07wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:27Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:28036,384,90827,599,0001,021,0002,113,536expected "74600294196621100 ", got "74924960848865098 "
2Jul 6, 2026 16:28036,626,92427,564,0001,022,0002,113,536expected "74600294196621100 ", got "74924883073560118 "
3Jul 6, 2026 16:28038,816,64729,619,0001,004,0002,113,536expected "74600294196621100 ", got "74527518508844058 "
4Apr 22, 2026 11:083,43047,456,73827,456,0001,016,0002,482,176
5Apr 22, 2026 11:083,43346,679,78927,482,0001,017,0002,330,624
6Apr 22, 2026 11:083,46146,083,39926,750,0001,981,0002,469,888
7Apr 22, 2026 11:083,46444,296,97827,728,0001,026,0002,490,368
8Apr 22, 2026 11:083,49442,878,52627,003,0002,000,0002,478,080
9Apr 22, 2026 11:083,51247,538,96328,148,0001,005,0002,490,368
10Apr 22, 2026 11:083,63846,723,37929,197,0001,006,0002,482,176
11Apr 22, 2026 11:083,64144,899,58929,220,0001,007,0002,486,272
12Apr 22, 2026 11:083,64143,954,41829,214,0001,007,0002,482,176