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 19, 2026 07:27Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 00:06Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 01:27059,724,53151,078,00002,113,536expected "106150209215216642 ", got "106149662936000118 "
2Sep 5, 2026 01:27061,552,87152,165,0001,045,0002,113,536expected "53677093086400507 ", got "53676740957676925 "
3Sep 5, 2026 01:27059,559,67150,229,0001,001,0002,113,536expected "106150807895262340 ", got "106150234646960126 "
4May 19, 2026 07:286,35462,338,76951,736,0001,007,0002,113,536
5May 19, 2026 07:286,36063,029,29051,753,0001,035,0002,113,536
6May 19, 2026 07:286,40263,748,49552,110,0001,034,0002,113,536
7May 19, 2026 07:286,43764,285,89752,425,0001,009,0002,113,536
8May 19, 2026 07:286,44861,334,38452,492,0001,029,0002,113,536
9May 19, 2026 07:286,50864,081,94952,938,0001,079,0002,113,536
10May 19, 2026 07:286,54962,117,01253,356,0001,008,0002,113,536
11May 19, 2026 07:286,55463,554,59253,387,0001,012,0002,113,536
12May 19, 2026 07:286,56464,455,86653,483,0001,000,0002,113,536