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 26, 2026 15:24wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:41Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:41036,945,80627,899,0001,013,0002,113,536expected "74600294196621100 ", got "74534726607897990 "
2Jul 6, 2026 15:41037,090,00027,586,0001,133,0002,113,536expected "74600294196621100 ", got "74534725784896650 "
3Jul 6, 2026 15:41037,341,66527,875,0001,016,0002,113,536expected "74600294196621100 ", got "74534729352894650 "
4Apr 26, 2026 15:243,41041,703,39027,295,0001,010,0002,490,368
5Apr 26, 2026 15:243,41243,886,93527,312,0001,011,0002,486,272
6Apr 26, 2026 15:243,43646,091,47827,506,0001,018,0002,490,368
7Apr 26, 2026 15:243,45144,818,27327,623,0001,023,0002,490,368
8Apr 26, 2026 15:243,45445,353,89627,649,0001,024,0002,490,368
9Apr 26, 2026 15:243,46042,632,67227,693,0001,025,0002,486,272
10Apr 26, 2026 15:243,46744,709,97826,793,0001,984,0002,486,272
11Apr 26, 2026 15:243,47644,835,82826,869,0001,990,0002,326,528
12Apr 26, 2026 15:243,48341,285,46926,919,0001,994,0002,330,624