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 listJul 7, 2026 05:57Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 02:15Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 03:53051,076,81339,977,0001,185,0002,134,016expected "106152209637828927 ", got "106151688821727175 "stderr
2Sep 5, 2026 03:53049,187,57438,075,0001,194,0002,134,016expected "106154133251455324 ", got "106153641399787062 "stderr
3Sep 5, 2026 03:53048,298,99037,200,0001,183,0002,179,072expected "106151591951615325 ", got "106151015527389757 "stderr
4Jul 7, 2026 06:034,61847,778,67437,135,0001,201,0002,179,072stderr
5Jul 7, 2026 06:034,72248,602,31837,983,0001,217,0002,134,016stderr
6Jul 7, 2026 06:034,73248,714,53338,047,0001,233,0002,134,016stderr
7Jul 7, 2026 06:034,73248,632,17038,087,0001,195,0002,134,016stderr
8Jul 7, 2026 06:034,73948,769,00338,149,0001,185,0002,134,016stderr
9Jul 7, 2026 06:034,76048,880,61738,310,0001,203,0002,134,016stderr
10Jul 7, 2026 06:034,77549,016,07438,451,0001,185,0002,134,016stderr
11Jul 7, 2026 06:034,79049,100,10538,562,0001,198,0002,134,016stderr
12Jul 7, 2026 06:034,79749,209,46138,632,0001,186,0002,134,016stderr