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 listOct 24, 2026 05:10timothygktimothygkError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 25, 2026 16:26Andrew Epstein22.06CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 25, 2026 16:260147,061,058123,175,00012,917,0002,117,632expected "10869572175618665 ", got "10869559475187260 "stderr
2Oct 25, 2026 16:26084,232,30660,201,00013,047,0002,117,632expected "107373967943462231 ", got "107373946671094089 "stderr
3Oct 25, 2026 16:260292,102,201267,709,00013,407,0002,117,632expected "36319080641996169 ", got "36319078420986173 "stderr
4Oct 24, 2026 05:119,53290,031,75565,747,00013,373,0002,117,632stderr
5Oct 24, 2026 05:119,62290,813,58166,601,00013,266,0002,117,632stderr
6Oct 24, 2026 05:119,69391,490,41066,361,00014,093,0002,117,632stderr
7Oct 24, 2026 05:119,70692,083,91366,278,00014,285,0002,117,632stderr
8Oct 24, 2026 05:119,73794,664,63966,436,00014,389,0002,117,632stderr
9Oct 24, 2026 05:119,74691,960,64166,752,00014,140,0002,117,632stderr
10Oct 24, 2026 05:119,74891,957,15666,817,00014,097,0002,117,632stderr
11Oct 24, 2026 05:119,75591,962,13067,216,00013,757,0002,121,728stderr
12Oct 24, 2026 05:119,81793,313,11566,550,00014,935,0002,117,632stderr