11/12/16 14035 уездный город Н
|
Последний раз редактировалось EUgeneUS 04.11.2022, 11:12, всего редактировалось 1 раз.
Пробный запуск (до ) пяти перекрывающихся паттернов. Запускались эти паттерны: Код: /* 14642258400, 12378473145*/ v=[ 45, 2, 1, 12, 16807, 50, 363, 32, 1, 18, 5, 28, 3, 2, 1]; z=[6,2,1,6,6,6,6,6,1,6,2,0,0,0,0]; n=7; pp=Mod(12378473145,14642258400);\\@LCM14642258400-12378473145-8 /* 14642258400, 12378473145*/ v=[ 45, 2, 1, 12, 16807, 50, 363, 32, 1, 18, 5, 28, 3, 2, 1]; z=[0,2,1,6,6,6,6,6,1,6,2,6,0,0,0]; n=7; pp=Mod(12378473145,14642258400);\\@LCM14642258400-12378473145-7 /* 14642258400, 12378473145*/ v=[ 45, 2, 1, 12, 16807, 50, 363, 32, 1, 18, 5, 28, 3, 2, 1]; z=[0,0,1,6,6,6,6,6,1,6,2,6,2,0,0]; n=7; pp=Mod(12378473145,14642258400);\\@LCM14642258400-12378473145-6 /* 14642258400, 12378473145*/ v=[ 45, 2, 1, 12, 16807, 50, 363, 32, 1, 18, 5, 28, 3, 2, 1]; z=[0,0,0,6,6,6,6,6,1,6,2,6,2,2,0]; n=7; pp=Mod(12378473145,14642258400);\\@LCM14642258400-12378473145-5 /* 14642258400, 12378473145*/ v=[ 45, 2, 1, 12, 16807, 50, 363, 32, 1, 18, 5, 28, 3, 2, 1]; z=[0,0,0,0,6,6,6,6,1,6,2,6,2,2,1]; n=6; pp=Mod(12378473145,14642258400);\\@LCM14642258400-12378473145-4
Log: (Оффтоп)
Код: LCM14642258400-12378473145-8:11671398696146496345: 12, 16, 8, 12, 12, 12, 12, 12, 12, 12, 8,192, 64, 8, 8, valids=8, maxlen=7 LCM14642258400-12378473145-8:123095096429160624345: 12, 32, 4, 12, 12, 12, 12, 12, 12, 12, 16, 24, 8, 8, 4, valids=8, maxlen=7 LCM14642258400-12378473145-8:201139545963018077145: 12, 64, 8, 12, 12, 12, 12, 12, 12, 12, 32, 48, 4, 16, 32, valids=8, maxlen=7 LCM14642258400-12378473145-8:219517520002841875545: 12, 32, 24, 12, 12, 12, 12, 12, 12, 12, 16, 12, 4, 64, 16, valids=9, maxlen=7 LCM14642258400-12378473145-8:315184951161384072345: 12, 32, 8, 12, 12, 12, 12, 12, 12, 12, 4, 48, 32, 16, 16, valids=8, maxlen=7 LCM14642258400-12378473145-8:572488061216892389145: 12, 16, 16, 12, 12, 12, 12, 12, 12, 12, 4, 72, 32, 64, 2, valids=8, maxlen=7 LCM14642258400-12378473145-8:946265320992363201945: 12, 16, 16, 12, 12, 12, 12, 12, 12, 12, 32, 24, 16, 32, 8, valids=8, maxlen=7 LCM14642258400-12378473145-8: end, time: 97.252s LCM14642258400-12378473145-7:139436300727550795545: 24, 8, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12, 48, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-7:219517520002841875545: 12, 32, 24, 12, 12, 12, 12, 12, 12, 12, 16, 12, 4, 64, 16, valids=9, maxlen=7 LCM14642258400-12378473145-7:866255046006773083545: 48, 64, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12,128, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-7: end, time: 104.481s LCM14642258400-12378473145-6:139436300727550795545: 24, 8, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12, 48, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-6:219517520002841875545: 12, 32, 24, 12, 12, 12, 12, 12, 12, 12, 16, 12, 4, 64, 16, valids=9, maxlen=7 LCM14642258400-12378473145-6:866255046006773083545: 48, 64, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12,128, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-6: end, time: 104.768s LCM14642258400-12378473145-5:139436300727550795545: 24, 8, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12, 48, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-5:219517520002841875545: 12, 32, 24, 12, 12, 12, 12, 12, 12, 12, 16, 12, 4, 64, 16, valids=9, maxlen=7 LCM14642258400-12378473145-5:866255046006773083545: 48, 64, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12,128, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-5: end, time: 104.621s LCM14642258400-12378473145-4:4213248911256753945: 48, 4, 12, 48, 12, 12, 12, 12, 12, 12, 32, 12, 32, 16, 2, valids=8, maxlen=6 LCM14642258400-12378473145-4:23412101224195637145: 12, 32, 8, 24, 12, 12, 12, 12, 12, 12, 8, 12, 4, 16, 4, valids=8, maxlen=6 LCM14642258400-12378473145-4:46444128429567437145: 12, 16, 4, 96, 12, 12, 12, 12, 12, 12, 64, 12, 32, 16, 16, valids=8, maxlen=6 LCM14642258400-12378473145-4:126535643965258296345: 24, 32, 4, 48, 12, 12, 12, 12, 12, 12, 32, 12, 8, 16, 12, valids=8, maxlen=6 LCM14642258400-12378473145-4:139436300727550795545: 24, 8, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12, 48, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-4:174182912303266219545: 12, 32, 32, 96, 12, 12, 12, 12, 12, 12, 32, 12, 32, 8, 2, valids=8, maxlen=6 LCM14642258400-12378473145-4:219517520002841875545: 12, 32, 24, 12, 12, 12, 12, 12, 12, 12, 16, 12, 4, 64, 16, valids=9, maxlen=7 LCM14642258400-12378473145-4:328887938115963456345: 24, 64, 12, 24, 12, 12, 12, 12, 12, 12, 16, 12, 32, 16, 4, valids=8, maxlen=6 LCM14642258400-12378473145-4:331430856672392045145: 96, 16, 16, 24, 12, 12, 12, 12, 12, 12, 12, 12, 32, 8, 8, valids=8, maxlen=8 LCM14642258400-12378473145-4:438001447848721325145: 12, 32, 8, 36, 12, 12, 12, 12, 12, 12, 64, 12, 32, 64, 4, valids=8, maxlen=6 LCM14642258400-12378473145-4:439179636526617955545: 12, 32, 4, 96, 12, 12, 12, 12, 12, 12, 12, 12, 4, 16, 4, valids=9, maxlen=8 LCM14642258400-12378473145-4:521080111309953163545: 12, 64, 4, 48, 12, 12, 12, 12, 12, 12, 8, 12, 16, 16, 8, valids=8, maxlen=6 LCM14642258400-12378473145-4:716802695328259493145: 12, 4, 8, 48, 12, 12, 12, 12, 12, 12, 4, 12, 64, 16, 4, valids=8, maxlen=6 LCM14642258400-12378473145-4:790076508980945539545: 12, 24, 4, 96, 12, 12, 12, 12, 12, 12, 32, 12, 32, 24, 8, valids=8, maxlen=6 LCM14642258400-12378473145-4:866255046006773083545: 48, 64, 4, 12, 12, 12, 12, 12, 12, 12, 64, 12,128, 16, 4, valids=8, maxlen=7 LCM14642258400-12378473145-4: end, time: 156.363s
-- 04.11.2022, 11:12 --Как видно: 1.Первый паттерн нашел 7 находок. Из них одна есть в каждом из пяти паттерне, остальные уникальны. 2. Последний паттерн нашел 15 находок. 3. Три паттерна в середине нашли по три находки, все они одинаковы и имеются в находках последнего паттерна. Итого: а) рабочее время: 253.605 секунд. б) wasted time: 313.87 секунд. Вывод: 1. Для больших LCM может и не имеет объединять паттерны, быстрее посчитается, чем с этим возиться. 2. Для малых LCM объединять нужно.
|
|