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 listNov 14, 2024 03:32zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:20Andrew Epstein21.47CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 03:48036,414,55526,564,0001,004,00016,384No answer to stdout. Died or killed?
2Oct 16, 2026 03:484,10142,967,81233,008,0001,035,0002,121,728stderr
3Nov 14, 2024 03:324,19962,937,75432,863,0001,991,0002,371,584
4Nov 14, 2024 03:324,20067,720,37533,866,000996,0002,514,944
5Nov 14, 2024 03:324,20167,053,96432,877,0001,992,0002,367,488
6Nov 14, 2024 03:324,20556,576,11533,907,000997,0002,367,488
7Nov 14, 2024 03:324,20660,429,78833,909,000997,0002,523,136
8Nov 14, 2024 03:354,21763,421,78534,001,0001,000,0002,363,392
9Nov 14, 2024 03:324,22256,825,17633,039,0002,002,0002,514,944
10Nov 14, 2024 03:324,22558,800,79233,065,0002,003,0002,367,488
11Nov 14, 2024 03:354,22560,596,57434,067,0001,001,0002,371,584
12Nov 14, 2024 03:324,22757,557,46233,078,0002,004,0002,514,944
13Nov 14, 2024 03:354,22754,347,26634,084,0001,002,0002,514,944
14Nov 14, 2024 03:324,24456,789,22334,223,0001,006,0002,519,040
15Nov 14, 2024 03:354,92068,847,38740,834,00002,527,232
16Nov 14, 2024 03:324,92066,380,55240,840,00002,379,776
17Nov 14, 2024 03:354,92266,566,67939,856,000996,0002,383,872
18Nov 14, 2024 03:324,94463,751,29439,036,0002,001,0002,527,232
19Nov 14, 2024 03:354,96361,573,69740,190,0001,004,0002,379,776
20Nov 14, 2024 03:325,13569,194,13242,624,00002,527,232