Заслуженный участник |
|
09/09/14 6328
|
Последний раз редактировалось grizzly 09.02.2016, 13:33, всего редактировалось 2 раз(а).
Помогли мне написать программку и я теперь вооружён для дальнейшего изучения вопроса. Буду в неспешном режиме копаться дальше. скорее всего, решения из 14 разрезов довольно многочисленны и разнообразны Под катом все (надеюсь) решения, у которых максимальный кусок строго меньше 60 г. (я резал только 420-граммовые торты). 69 решений. Надеюсь, что перебор полный и я ничего не пропускаю (это я ещё буду проверять). (Решения для 7--14)
Код: [59, 49, 45, 44, 39, 35, 35, 25, 25, 21, 16, 15, 11, 1] [59, 55, 49, 45, 39, 35, 31, 29, 25, 21, 15, 11, 5, 1] [59, 49, 45, 40, 39, 35, 31, 29, 25, 21, 20, 15, 11, 1] [59, 49, 45, 39, 35, 34, 31, 29, 26, 25, 21, 15, 11, 1] [59, 49, 44, 39, 35, 34, 31, 29, 26, 25, 21, 16, 11, 1] [59, 54, 49, 45, 39, 35, 31, 29, 25, 21, 15, 11, 6, 1] [59, 49, 45, 41, 39, 35, 31, 29, 25, 21, 19, 15, 11, 1] [59, 49, 44, 41, 39, 35, 31, 29, 25, 21, 19, 16, 11, 1] [59, 49, 41, 39, 35, 34, 31, 29, 26, 25, 21, 19, 11, 1] [58, 57, 51, 47, 43, 37, 33, 27, 23, 17, 13, 9, 3, 2] [58, 57, 51, 47, 41, 37, 33, 27, 23, 19, 13, 9, 3, 2] [58, 51, 48, 47, 43, 37, 33, 27, 23, 17, 13, 12, 9, 2] [58, 57, 48, 47, 38, 37, 33, 27, 23, 22, 13, 12, 3, 2] [57, 51, 47, 41, 37, 33, 31, 29, 27, 23, 19, 13, 9, 3] [57, 49, 47, 39, 37, 33, 32, 28, 27, 23, 21, 13, 11, 3] [57, 48, 47, 38, 37, 33, 31, 29, 27, 23, 22, 13, 12, 3] [57, 47, 39, 38, 37, 33, 31, 29, 27, 23, 22, 21, 13, 3] [57, 47, 39, 38, 37, 33, 32, 28, 27, 23, 22, 21, 13, 3] [57, 48, 47, 41, 37, 33, 31, 29, 27, 23, 19, 13, 12, 3] [57, 49, 47, 42, 37, 33, 32, 28, 27, 23, 18, 13, 11, 3] [57, 48, 47, 43, 38, 37, 33, 27, 23, 22, 17, 13, 12, 3] [57, 47, 43, 41, 37, 33, 31, 29, 27, 23, 19, 17, 13, 3] [57, 55, 48, 47, 43, 37, 33, 27, 23, 17, 13, 12, 5, 3] [57, 52, 47, 45, 43, 37, 33, 27, 23, 17, 15, 13, 8, 3] [57, 48, 47, 43, 41, 37, 33, 27, 23, 19, 17, 13, 12, 3] [57, 47, 45, 43, 38, 37, 33, 27, 23, 22, 17, 15, 13, 3] [57, 47, 43, 42, 37, 35, 33, 27, 25, 23, 18, 17, 13, 3] [57, 47, 43, 39, 37, 33, 32, 28, 27, 23, 21, 17, 13, 3] [57, 47, 43, 38, 37, 33, 31, 29, 27, 23, 22, 17, 13, 3] [57, 47, 43, 37, 35, 33, 32, 28, 27, 25, 23, 17, 13, 3] [55, 54, 49, 45, 39, 35, 31, 29, 25, 21, 15, 11, 6, 5] [54, 44, 40, 39, 34, 31, 30, 30, 29, 26, 21, 20, 16, 6] [54, 53, 51, 43, 41, 33, 31, 29, 27, 19, 17, 9, 7, 6] [54, 53, 44, 43, 41, 39, 31, 29, 21, 19, 17, 16, 7, 6] [53, 49, 44, 43, 41, 39, 31, 29, 21, 19, 17, 16, 11, 7] [53, 51, 43, 41, 33, 31, 30, 30, 29, 27, 19, 17, 9, 7] [53, 52, 43, 42, 41, 32, 31, 29, 28, 19, 18, 17, 8, 7] [53, 52, 43, 42, 33, 32, 31, 29, 28, 27, 18, 17, 8, 7] [53, 51, 43, 41, 33, 32, 31, 29, 28, 27, 19, 17, 9, 7] [53, 51, 43, 41, 37, 33, 31, 29, 27, 23, 19, 17, 9, 7] [53, 51, 43, 41, 38, 33, 32, 28, 27, 22, 19, 17, 9, 7] [53, 43, 42, 41, 33, 32, 31, 29, 28, 27, 19, 18, 17, 7] [53, 51, 43, 41, 38, 37, 33, 27, 23, 22, 19, 17, 9, 7] [53, 43, 41, 37, 33, 32, 31, 29, 28, 27, 23, 19, 17, 7] [53, 47, 43, 37, 33, 32, 31, 29, 28, 27, 23, 17, 13, 7] [52, 49, 47, 42, 37, 33, 32, 28, 27, 23, 18, 13, 11, 8] [52, 47, 42, 40, 38, 37, 32, 28, 23, 22, 20, 18, 13, 8] [52, 43, 42, 40, 38, 33, 32, 28, 27, 22, 20, 18, 17, 8] [52, 45, 43, 42, 38, 33, 32, 28, 27, 22, 18, 17, 15, 8] [52, 49, 47, 42, 38, 37, 32, 28, 23, 22, 18, 13, 11, 8] [52, 48, 43, 42, 41, 38, 32, 28, 22, 19, 18, 17, 12, 8] [51, 47, 43, 41, 37, 33, 31, 29, 27, 23, 19, 17, 13, 9] [51, 47, 41, 37, 33, 31, 30, 30, 29, 27, 23, 19, 13, 9] [51, 43, 41, 37, 33, 31, 30, 30, 29, 27, 23, 19, 17, 9] [51, 47, 44, 41, 37, 34, 33, 27, 26, 23, 19, 16, 13, 9] [51, 48, 43, 41, 38, 37, 33, 27, 23, 22, 19, 17, 12, 9] [51, 47, 41, 37, 34, 33, 31, 29, 27, 26, 23, 19, 13, 9] [51, 44, 43, 41, 37, 33, 31, 29, 27, 23, 19, 17, 16, 9] [51, 48, 47, 41, 37, 33, 31, 29, 27, 23, 19, 13, 12, 9] [51, 44, 41, 39, 34, 33, 31, 29, 27, 26, 21, 19, 16, 9] [49, 45, 44, 39, 36, 35, 34, 26, 25, 24, 21, 16, 15, 11] [48, 47, 43, 41, 38, 37, 33, 27, 23, 22, 19, 17, 13, 12] [48, 47, 41, 38, 37, 33, 31, 29, 27, 23, 22, 19, 13, 12] [48, 47, 42, 40, 38, 37, 32, 28, 23, 22, 20, 18, 13, 12] [47, 39, 38, 37, 33, 32, 31, 29, 28, 27, 23, 22, 21, 13] [47, 43, 41, 37, 34, 33, 31, 29, 27, 26, 23, 19, 17, 13] [47, 43, 41, 38, 37, 33, 31, 29, 27, 23, 22, 19, 17, 13] [47, 44, 43, 41, 37, 34, 33, 27, 26, 23, 19, 17, 16, 13] [44, 43, 41, 39, 34, 33, 31, 29, 27, 26, 21, 19, 17, 16]
Для 8--16 тот же алгоритм дал всего 3 решения, чем немало меня удивил (максимальный кусок здесь также строго меньше 105 грамм): [103, 88, 80, 73, 68, 67, 58, 53, 52, 47, 38, 37, 32, 25, 17, 2] [94, 80, 79, 76, 74, 64, 61, 59, 46, 44, 41, 31, 29, 26, 25, 11] [88, 82, 80, 73, 68, 67, 58, 53, 52, 47, 38, 37, 32, 25, 23, 17] -- это уже нашёл раньше SenderДля 9--18 решений нет. Я также не верю, что для 9--18 найдутся решения и с максимальным куском 280 грамм. Для задачи 9--19 нужно ещё колдовать с алгоритмом. Полный перебор на 9--18 работал несколько часов, так что с 9--19 шансов нет. Но я уверен, что решения там будут.
|
|