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 17:25Danylo MocherniukDanylo MocherniukError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 02:32Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 02:32047,218,08634,933,0002,027,0002,117,632expected "74600294196621100 ", got "40270843437854300 "stderr
2Jul 7, 2026 02:32056,356,41745,143,0001,285,0002,117,632expected "74600294196621100 ", got "32029411483417388 "stderr
3Jul 7, 2026 02:32049,491,29437,155,0002,101,0002,117,632expected "74600294196621100 ", got "40672616009971888 "stderr
4Apr 11, 2026 17:254,47559,704,73534,132,0003,011,0002,342,912
5Apr 11, 2026 17:254,48662,746,07434,214,0003,018,0002,396,160
6Apr 11, 2026 17:254,50062,217,53934,323,0003,028,0002,297,856
7Apr 11, 2026 17:254,50359,107,80635,357,0002,020,0002,379,776
8Apr 11, 2026 17:254,51862,716,59836,488,0001,013,0002,297,856
9Apr 11, 2026 17:254,51965,554,53436,495,0001,013,0002,392,064
10Apr 11, 2026 17:254,53064,457,06135,568,0002,032,0002,297,856
11Apr 11, 2026 17:254,53273,036,95035,585,0002,033,0002,392,064
12Apr 11, 2026 17:254,53565,603,00735,609,0002,034,0002,297,856
13Apr 11, 2026 17:254,54172,095,86436,669,0001,018,0002,383,872
14Apr 11, 2026 17:254,55865,048,74234,845,0002,986,0002,400,256
15Apr 11, 2026 17:254,56068,378,96835,854,0001,991,0002,396,160
16Apr 11, 2026 17:254,61964,227,96335,309,0003,026,0002,297,856
17Apr 11, 2026 17:254,64061,598,95337,501,0001,013,0002,297,856
18Apr 11, 2026 17:254,68760,540,36036,904,0001,994,0002,387,968
19Apr 11, 2026 17:254,69262,280,14836,950,0001,997,0002,297,856
20Apr 11, 2026 17:254,69459,804,94136,963,0001,998,0002,383,872
21Apr 11, 2026 17:254,70267,121,19737,028,0002,001,0002,465,792
22Apr 11, 2026 17:254,80065,528,26137,850,0001,992,0002,387,968
23Apr 11, 2026 17:254,80165,852,25637,853,0001,992,0002,392,064
24Apr 11, 2026 17:255,06069,560,95839,996,0001,999,0002,297,856