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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:57Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:58040,660,39531,347,0001,069,0002,113,536expected "74600294196621100 ", got "74097552534030636 "
2Jul 6, 2026 20:58040,237,57931,247,0001,078,0002,113,536expected "74600294196621100 ", got "74099000119001132 "
3Jul 6, 2026 20:58049,274,56129,077,0001,018,0002,113,536expected "74600294196621100 ", got "72476791010974508 "
4Apr 14, 2026 05:144,07558,311,58731,833,0001,989,0002,277,376
5Apr 14, 2026 05:124,07655,770,90531,842,0001,990,0002,482,176
6Apr 14, 2026 05:124,07762,965,35531,853,0001,990,0002,502,656
7Apr 14, 2026 05:124,07761,582,71132,847,000995,0002,490,368
8Apr 14, 2026 05:134,09370,394,41731,976,0001,998,0002,498,560
9Apr 14, 2026 05:124,11152,638,10832,112,0002,007,0002,486,272
10Apr 14, 2026 05:124,14258,579,84933,370,0001,011,0002,277,376
11Apr 14, 2026 05:134,17862,369,70333,658,0001,019,0002,490,368
12Apr 14, 2026 05:134,17963,748,32433,662,0001,020,0002,494,464
13Apr 14, 2026 05:134,20855,666,00632,932,0001,995,0002,277,376
14Apr 14, 2026 05:144,21254,085,80932,961,0001,997,0002,531,328
15Apr 14, 2026 05:134,21459,559,18632,981,0001,998,0002,490,368
16Apr 14, 2026 05:134,22362,189,59633,052,0002,003,0002,277,376
17Apr 14, 2026 05:144,26257,160,51134,366,0001,010,0002,277,376
18Apr 14, 2026 05:124,28462,862,96434,545,0001,016,0002,494,464