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 10, 2026 13:12wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:17Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:17035,689,93326,809,0001,011,0002,113,536expected "74600294196621100 ", got "74534757769976418 "
2Jul 6, 2026 15:17038,097,11929,349,0001,038,0002,113,536expected "74600294196621100 ", got "74535199006836460 "
3Jul 6, 2026 15:17037,570,63128,813,0001,026,0002,113,536expected "74600294196621100 ", got "74535181847952880 "
4May 10, 2026 13:123,41836,874,78728,372,00002,113,536
5May 10, 2026 13:123,42037,118,36628,391,00002,113,536
6May 10, 2026 13:123,42338,283,46528,418,00002,113,536
7May 10, 2026 13:123,43440,504,40628,504,00002,113,536
8May 10, 2026 13:123,43638,527,49928,522,00002,113,536
9May 10, 2026 13:123,44936,298,48628,630,00002,113,536
10May 10, 2026 13:123,45138,093,92428,646,00002,113,536
11May 10, 2026 13:123,45138,738,85328,650,00002,113,536
12May 10, 2026 13:123,46738,186,76328,781,00002,113,536