Problem 16 Error

Back to General discussions forum

Brandon_L     2015-08-17 12:59:04

The input is 449 76 308 254 389 296 408 0

I did the problem manually, getting 2180/8 which equals 272.5, which becomes 273 after rounding. The result page indicates that the average of those numbers should be 311.

Full input list: 9 449 76 308 254 389 296 408 0 241 776 610 985 8 146 186 216 862 171 0 485 50 177 341 212 510 353 272 97 450 0 490 925 98 57 717 619 473 957 371 0 6050 3246 1264 9503 649 0 50 49 54 138 219 160 137 0 370 217 287 31 462 237 79 491 83 389 0 31 122 255 126 173 18 18 183 81 0 8250 6362 7259 5879 158 15990 0

My answers: 273 382 268 471 3452 101 241 101 6271

Expected answer: 311 420 295 523 4142 115 265 112 7316

bermanrl     2015-08-17 15:30:28

Hi,

It should be 2180/7 since the last 0 indicates end of series. It is not a part of the series.

Robert

Brandon_L     2015-08-18 13:44:45

I missed that part of the input description. Seems silly. Thanks though.

Please login and solve 5 problems to be able to post at forum