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 14, 2026 02:26wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:42Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:42039,014,14928,479,0001,121,0002,113,536expected "74600294196621100 ", got "72472647582066220 "
2Jul 6, 2026 18:42040,111,69631,050,0001,172,0002,113,536expected "74600294196621100 ", got "74088531012931884 "
3Jul 6, 2026 18:42041,672,69032,771,0001,078,0002,113,536expected "74600294196621100 ", got "74099649830473260 "
4Apr 13, 2026 12:124,02657,166,52332,403,0001,012,0002,277,376
5Apr 13, 2026 12:124,03556,995,54932,476,0001,014,0002,277,376
6Apr 13, 2026 12:164,03754,463,03232,494,0001,015,0002,277,376
7Apr 13, 2026 12:164,03953,782,12632,509,0001,015,0002,494,464
8Apr 14, 2026 05:394,04061,342,77832,514,0001,016,0002,277,376
9Apr 13, 2026 12:114,04052,232,96032,513,0001,016,0002,490,368
10Apr 14, 2026 02:264,04356,323,55632,537,0001,016,0002,490,368
11Apr 14, 2026 02:274,04356,273,71932,540,0001,016,0002,277,376
12Apr 13, 2026 12:164,04759,993,41932,575,0001,017,0002,494,464
13Apr 13, 2026 12:394,05158,171,79432,608,0001,019,0002,277,376
14Apr 13, 2026 12:394,05261,495,77632,614,0001,019,0002,498,560
15Apr 14, 2026 02:274,05360,613,50332,624,0001,019,0002,494,464
16Apr 13, 2026 12:164,05556,884,22832,635,0001,019,0002,494,464
17Apr 14, 2026 02:264,05658,597,58532,648,0001,020,0002,277,376
18Apr 13, 2026 12:124,07658,335,35731,842,0001,990,0002,498,560
19Apr 13, 2026 12:114,07759,825,06332,841,000995,0002,490,368
20Apr 14, 2026 02:264,07768,048,40431,845,0001,990,0002,494,464
21Apr 13, 2026 12:164,09060,058,52631,947,0001,996,0002,277,376
22Apr 13, 2026 12:114,17856,031,75632,694,0001,981,0002,494,464
23Apr 14, 2026 02:264,19664,682,57631,839,0002,984,0002,277,376
24Apr 14, 2026 05:394,19757,397,91432,847,0001,990,0002,486,272
25Apr 13, 2026 12:164,20358,654,77332,894,0001,993,0002,277,376
26Apr 13, 2026 12:394,21361,529,58632,967,0001,998,0002,486,272
27Apr 14, 2026 02:264,23958,304,95133,171,0002,010,0002,277,376
28Apr 14, 2026 02:264,27254,618,12734,444,0001,013,0002,277,376
29Apr 14, 2026 05:394,28656,260,91134,555,0001,016,0002,486,272
30Apr 14, 2026 02:274,76068,546,00738,497,0001,013,0002,277,376