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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:18Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:18038,895,23529,899,0001,010,0002,113,536expected "74600294196621100 ", got "74525984819310564 "
2Jul 6, 2026 17:18037,254,09528,370,0001,002,0002,113,536expected "74600294196621100 ", got "74535198621867120 "
3Jul 6, 2026 17:18037,055,05828,058,0001,033,0002,113,536expected "74600294196621100 ", got "74535324142876000 "
4May 7, 2026 09:583,38945,215,88727,022,0001,114,0002,490,368
5May 7, 2026 09:583,39144,328,69527,059,0001,091,0002,490,368
6May 7, 2026 09:583,42444,311,40327,373,0001,054,0002,494,464
7May 7, 2026 09:583,56646,441,06428,520,0001,083,0002,494,464
8May 7, 2026 09:583,57246,346,31128,564,0001,087,0002,486,272
9May 7, 2026 09:583,57544,154,61728,564,0001,114,0002,486,272
10May 7, 2026 09:583,58543,941,77928,644,0001,115,0002,478,080
11May 7, 2026 09:583,58644,522,10928,668,0001,102,0002,494,464
12May 7, 2026 09:583,59643,719,05828,776,0001,075,0002,473,984