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 listMar 18, 2026 03:31Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:17Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:17045,684,00536,389,0001,248,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
2Jul 7, 2026 03:17044,908,40535,935,0001,119,0002,117,632expected "74600294196621100 ", got "15171594086249879 "
3Jul 7, 2026 03:17045,420,31936,180,0001,260,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
4Mar 18, 2026 03:314,68059,898,58237,847,000995,0002,301,952
5Mar 18, 2026 03:314,68063,411,69736,853,0001,992,0002,469,888
6Mar 18, 2026 03:314,68163,950,60737,853,000996,0002,473,984
7Mar 18, 2026 03:314,68366,697,58036,872,0001,993,0002,478,080
8Mar 18, 2026 03:314,72065,406,72038,169,0001,004,0002,465,792
9Mar 18, 2026 03:314,94067,449,30439,002,0002,000,0002,531,328
10Mar 18, 2026 03:314,94365,612,25139,025,0002,001,0002,269,184
11Mar 18, 2026 03:314,94868,893,37139,067,0002,003,0002,473,984
12Mar 18, 2026 03:314,97069,800,86739,243,0002,012,0002,469,888