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 listApr 11, 2026 08:29Danylo MocherniukDanylo MocherniukError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 02:40Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 02:40045,844,40834,837,0001,295,0002,117,632expected "74600294196621100 ", got "40266930125142108 "stderr
2Jul 7, 2026 02:40045,587,74934,378,0001,282,0002,117,632expected "74600294196621100 ", got "40263071092965980 "stderr
3Jul 7, 2026 02:40056,856,01744,741,0001,048,0002,117,632expected "74600294196621100 ", got "32029411483417388 "stderr
4Apr 11, 2026 08:304,46461,140,02335,049,0002,002,0002,392,064
5Apr 11, 2026 08:304,49061,683,55834,242,0003,021,0002,375,680
6Apr 10, 2026 15:124,49764,303,57535,304,0002,017,0002,379,776
7Apr 10, 2026 15:124,49958,907,30435,321,0002,018,0002,482,176
8Apr 10, 2026 15:124,50059,080,48135,330,0002,018,0002,297,856
9Apr 10, 2026 15:124,50160,795,97235,340,0002,019,0002,297,856
10Apr 10, 2026 15:124,50359,752,07634,345,0003,030,0002,387,968
11Apr 10, 2026 15:124,50363,345,66735,356,0002,020,0002,297,856
12Apr 10, 2026 15:124,51065,147,83634,402,0003,035,0002,297,856
13Apr 10, 2026 15:134,51262,687,88136,468,000985,0002,297,856
14Apr 11, 2026 08:304,51858,368,78534,459,0003,040,0002,387,968
15Apr 11, 2026 08:264,52459,636,69435,519,0002,029,0002,297,856
16Apr 11, 2026 08:264,53463,824,52036,613,0001,017,0002,297,856
17Apr 11, 2026 08:304,55362,457,16034,805,0002,983,0002,396,160
18Apr 11, 2026 08:264,55669,413,85735,826,0001,990,0002,375,680
19Apr 10, 2026 15:124,55963,395,49035,845,0001,991,0002,379,776
20Apr 10, 2026 15:134,55963,525,40536,844,000995,0002,494,464
21Apr 10, 2026 15:124,57459,974,06536,969,000999,0002,392,064
22Apr 10, 2026 15:124,58165,115,69436,022,0002,001,0002,297,856
23Apr 11, 2026 08:264,58260,949,83835,026,0003,002,0002,297,856
24Apr 10, 2026 15:124,58462,314,46136,046,0002,002,0002,387,968
25Apr 11, 2026 08:264,58964,581,67236,083,0002,004,0002,375,680
26Apr 10, 2026 15:124,60160,501,85735,171,0003,014,0002,297,856
27Apr 11, 2026 08:304,67770,367,12336,825,0001,990,0002,297,856
28Apr 11, 2026 08:294,68459,958,38536,888,0001,993,0002,387,968
29Apr 11, 2026 08:264,70663,861,32937,059,0002,003,0002,310,144
30Apr 10, 2026 15:124,71461,668,44837,118,0002,006,0002,297,856
31Apr 11, 2026 08:254,73362,477,23737,274,0002,014,0002,387,968
32Apr 10, 2026 15:124,73866,370,35337,311,0002,016,0002,396,160
33Apr 11, 2026 08:254,74165,582,99937,335,0002,018,0002,392,064
34Apr 10, 2026 15:134,75664,821,82537,449,0002,024,0002,383,872
35Apr 10, 2026 15:124,76269,885,36237,495,0002,026,0002,297,856
36Apr 11, 2026 08:304,77965,990,69437,684,0001,983,0002,297,856
37Apr 10, 2026 15:124,80066,090,46236,856,0002,988,0002,297,856
38Apr 11, 2026 08:294,81068,039,54436,933,0002,994,0002,396,160
39Apr 10, 2026 15:124,85764,315,57738,301,0002,015,0002,392,064
40Apr 11, 2026 08:254,86065,620,75437,312,0003,025,0002,396,160
41Apr 11, 2026 08:295,05175,110,12539,930,0001,996,0002,383,872
42Apr 10, 2026 15:125,24662,835,32741,513,0002,025,0002,396,160