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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:59Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 21:00037,431,00928,356,0001,084,0002,113,536expected "74600294196621100 ", got "70909359475680300 "
2Jul 6, 2026 21:00037,315,46128,200,0001,078,0002,113,536expected "74600294196621100 ", got "72475316228138028 "
3Jul 6, 2026 21:00040,361,73231,386,0001,080,0002,113,536expected "74600294196621100 ", got "73880191925387564 "
4Apr 14, 2026 07:224,08556,965,56531,909,0001,994,0002,277,376
5Apr 14, 2026 07:224,08962,575,46231,941,0001,996,0002,277,376
6Apr 14, 2026 07:224,10652,851,46732,074,0002,004,0002,494,464
7Apr 14, 2026 07:224,10860,634,82432,090,0002,005,0002,277,376
8Apr 14, 2026 07:234,17056,639,91733,594,0001,018,0002,535,424
9Apr 14, 2026 07:234,17261,887,13033,612,0001,018,0002,277,376
10Apr 14, 2026 07:254,17663,001,28932,683,0001,980,0002,498,560
11Apr 14, 2026 07:234,18059,099,59933,678,0001,020,0002,490,368
12Apr 14, 2026 07:234,20063,418,17532,871,0001,992,0002,277,376
13Apr 14, 2026 07:254,20763,606,20732,926,0001,995,0002,277,376
14Apr 14, 2026 07:234,21062,646,00732,949,0001,996,0002,277,376
15Apr 14, 2026 07:224,22058,668,14833,023,0002,001,0002,277,376
16Apr 14, 2026 07:224,26453,541,35734,383,0001,011,0002,277,376
17Apr 14, 2026 07:254,27656,041,42134,474,0001,013,0002,277,376
18Apr 14, 2026 07:234,28360,956,06034,534,0001,015,0002,486,272