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 12:16Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 4, 2026 21:33Tomislav Tunkovic10.00CustomSolution Broken
Jul 7, 2026 14:53wn10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 21:40042,616,15033,305,0001,026,0002,117,632expected "106150076533810154 ", got "106149568857981656 "stderr
2Sep 4, 2026 21:40044,464,49534,536,0001,118,0002,117,632expected "106152003236233612 ", got "106151497318936652 "stderr
3Jul 7, 2026 12:174,09341,957,78632,934,0001,043,0002,117,632stderr
4Jul 7, 2026 12:174,11642,091,83633,091,0001,074,0002,117,632stderr
5Jul 7, 2026 12:174,11642,225,53333,027,0001,137,0002,117,632stderr
6Jul 7, 2026 12:174,11742,123,18133,152,0001,022,0002,117,632stderr
7Jul 7, 2026 12:174,12742,365,88633,213,0001,049,0002,117,632stderr
8Jul 7, 2026 12:174,13542,354,40633,310,0001,017,0002,117,632stderr
9Jul 7, 2026 12:174,14442,481,38633,359,0001,044,0002,117,632stderr
10Jul 7, 2026 12:174,16542,557,61533,517,0001,054,0002,117,632stderr
11Jul 7, 2026 12:174,16542,605,08033,552,0001,022,0002,117,632stderr
12Sep 4, 2026 21:4026,193225,870,873217,405,00002,117,632stderr