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 19:21Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 02:39Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 02:39043,577,96434,628,0001,019,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
2Jul 7, 2026 02:39043,677,71434,725,0001,015,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
3Jul 7, 2026 02:39043,484,73734,631,0001,017,0002,117,632expected "74600294196621100 ", got "16895846256258860 "
4Mar 18, 2026 19:204,51857,551,57636,483,0001,013,0002,469,888
5Mar 18, 2026 19:204,53062,455,55436,586,0001,016,0002,310,144
6Mar 18, 2026 19:214,53066,571,40736,580,0001,016,0002,531,328
7Mar 18, 2026 19:204,53163,126,38537,608,00002,473,984
8Mar 18, 2026 19:204,53367,585,37736,605,0001,016,0002,531,328
9Mar 18, 2026 19:204,57462,080,84035,970,0001,998,0002,478,080
10Mar 18, 2026 19:214,57957,020,31736,008,0002,000,0002,531,328
11Mar 18, 2026 19:204,64864,769,69737,567,0001,015,0002,465,792
12Mar 18, 2026 19:204,65367,138,98237,606,0001,016,0002,531,328
13Mar 18, 2026 19:214,65565,291,83737,622,0001,016,0002,531,328
14Mar 18, 2026 19:204,65961,930,61337,656,0001,017,0002,531,328
15Mar 18, 2026 19:204,66064,279,92436,696,0001,983,0002,461,696