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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:22Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:22037,530,20928,563,0001,003,0002,113,536expected "74600294196621100 ", got "74535198820339800 "
2Jul 6, 2026 15:22037,170,53528,160,0001,043,0002,113,536expected "74600294196621100 ", got "74534758323202728 "
3Jul 6, 2026 15:22037,245,00827,901,0001,002,0002,113,536expected "74600294196621100 ", got "74534753793238079 "
4Apr 26, 2026 15:393,41842,318,38827,364,0001,013,0002,490,368
5Apr 26, 2026 15:393,43147,233,65727,461,0001,017,0002,330,624
6Apr 26, 2026 15:393,43543,797,05327,493,0001,018,0002,330,624
7Apr 26, 2026 15:393,43945,322,97628,551,00002,490,368
8Apr 26, 2026 15:393,44044,000,29128,558,00002,486,272
9Apr 26, 2026 15:393,44347,709,65827,563,0001,020,0002,490,368
10Apr 26, 2026 15:393,46346,075,71927,717,0001,026,0002,482,176
11Apr 26, 2026 15:393,46644,589,47926,791,0001,984,0002,314,240
12Apr 26, 2026 15:393,53346,229,98128,320,0001,011,0002,486,272