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 listMay 7, 2026 08:49wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:15037,455,56428,008,0001,038,0002,113,536expected "74600294196621100 ", got "74534684919361574 "
2Jul 6, 2026 17:15035,864,70926,868,0001,037,0002,113,536expected "74600294196621100 ", got "74534755681773298 "
3Jul 6, 2026 17:15035,708,76926,747,0001,020,0002,113,536expected "74600294196621100 ", got "74534682271278674 "
4May 7, 2026 08:503,39941,355,39927,138,0001,077,0002,490,368
5May 7, 2026 08:503,41343,403,02327,243,0001,091,0002,482,176
6May 7, 2026 08:503,46950,223,69527,737,0001,063,0002,482,176
7May 7, 2026 08:503,56446,208,69728,507,0001,075,0002,482,176
8May 7, 2026 08:503,56946,594,63228,553,0001,074,0002,494,464
9May 7, 2026 08:503,57147,850,66028,560,0001,080,0002,494,464
10May 7, 2026 08:503,57245,343,30628,558,0001,095,0002,490,368
11May 7, 2026 08:503,57743,879,86728,599,0001,098,0002,473,984
12May 7, 2026 08:503,59246,923,16028,721,0001,099,0002,486,272