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 27, 2026 04:54wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:26Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:26035,883,63126,903,0001,034,0002,113,536expected "74600294196621100 ", got "74534754565454718 "
2Jul 6, 2026 15:26036,116,36427,147,0001,019,0002,113,536expected "74600294196621100 ", got "74534747414290069 "
3Jul 6, 2026 15:26038,688,80429,632,0001,086,0002,113,536expected "74600294196621100 ", got "74535260319672540 "
4Apr 27, 2026 04:553,40343,947,90027,240,0001,008,0002,494,464
5Apr 27, 2026 04:553,40949,751,51927,288,0001,010,0002,486,272
6Apr 27, 2026 04:553,40942,577,30427,290,0001,010,0002,482,176
7Apr 27, 2026 04:553,43146,191,43727,463,0001,017,0002,473,984
8Apr 27, 2026 04:553,44444,212,42427,571,0001,021,0002,486,272
9Apr 27, 2026 04:553,45246,582,62227,634,0001,023,0002,490,368
10Apr 27, 2026 04:553,45646,614,34826,714,0001,978,0002,330,624
11Apr 27, 2026 04:553,50346,318,83127,074,0002,005,0002,482,176
12Apr 27, 2026 04:553,51347,122,67029,158,00002,330,624