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 17, 2026 19:39wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:21Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:21043,465,50834,184,0001,153,0002,113,536expected "74600294196621100 ", got "73598152443947820 "
2Jul 6, 2026 23:21043,752,12234,484,0001,153,0002,113,536expected "74600294196621100 ", got "73597826515958060 "
3Jul 6, 2026 23:21043,993,29734,710,0001,171,0002,113,536expected "74600294196621100 ", got "73598139886889260 "
4Mar 17, 2026 19:384,25158,913,82433,264,0002,016,0002,502,656
5Mar 17, 2026 19:374,25756,432,54734,327,0001,009,0002,494,464
6Mar 17, 2026 19:374,26157,492,75434,357,0001,010,0002,273,280
7Mar 17, 2026 19:374,26964,569,93734,421,0001,012,0002,502,656
8Mar 17, 2026 19:394,27158,178,89434,436,0001,012,0002,490,368
9Mar 17, 2026 19:374,27156,746,51534,434,0001,012,0002,273,280
10Mar 17, 2026 19:384,27267,772,15734,444,0001,013,0002,502,656
11Mar 17, 2026 19:394,28258,152,85734,523,0001,015,0002,494,464
12Mar 17, 2026 19:374,29263,683,72834,610,0001,017,0002,273,280
13Mar 17, 2026 19:384,31858,848,70033,850,0001,991,0002,494,464
14Mar 17, 2026 19:394,31861,610,23933,852,0001,991,0002,490,368
15Mar 17, 2026 19:374,31862,936,12533,852,0001,991,0002,494,464
16Mar 17, 2026 19:394,32657,351,56233,908,0001,994,0002,494,464
17Mar 17, 2026 19:394,33859,395,97634,003,0002,000,0002,273,280
18Mar 17, 2026 19:394,35059,996,04734,097,0002,005,0002,531,328