围观各位大佬
- 来自 水木社区APP v3.5.3
【 在 here080 的大作中提到: 】
: 哈哈,我发现了,你的那个打分函数是个坑啊。那个乘以3完全把事情搞砸了。
: 我把那个乘以3去掉,直接就搜出了58步的解。
: 再然后我再优化了一下打分函数,用分数和步数的和作为新的分数,你猜怎么着?36步:
: Start Searching =========================
: [7700226867670820340] searched=100000, steps=11, score=26
: [12960364162379280960] searched=300000, steps=19, score=20
: [12672262221246767985] searched=700000, steps=19, score=20
: !!! Result found after 941092 searches
: 0 -- 4
: A E H C A E H C A E H C A E H C A E H C
: B F D O => B F D O => B F D O => B F D O => B F D * =>
: J I L G => J I L G => J I * G => J I G * => J I G O =>
: M N K * M N * K M N L K M N L K M N L K
: 5 -- 9
: A E H C A E * C A E C * A E C D A E C D
: B F * D => B F H D => B F H D => B F H * => B F * H =>
: J I G O => J I G O => J I G O => J I G O => J I G O =>
: M N L K M N L K M N L K M N L K M N L K
: 10 -- 14
: A E C D A * C D A C * D A C F D A C F D
: B * F H => B E F H => B E F H => B E * H => B E G H =>
: J I G O => J I G O => J I G O => J I G O => J I * O =>
: M N L K M N L K M N L K M N L K M N L K
: 15 -- 19
: A C F D A C F D A C F D A C F D A C F D
: B E G H => B E G H => B E G H => B E G H => B E G H =>
: J I O * => J I O K => J I O K => J I * K => J * I K =>
: M N L K M N L * M N * L M N O L M N O L
: 20 -- 24
: A C F D A C F D A C F D A C F D A C F D
: B * G H => * B G H => J B G H => J B G H => J B G H =>
: J E I K => J E I K => * E I K => E * I K => E I * K =>
: M N O L M N O L M N O L M N O L M N O L
: 25 -- 29
: A C F D A C * D A * C D A B C D A B C D
: J B * H => J B F H => J B F H => J * F H => * J F H =>
: E I G K => E I G K => E I G K => E I G K => E I G K =>
: M N O L M N O L M N O L M N O L M N O L
: 30 -- 34
: A B C D A B C D A B C D A B C D A B C D
: E J F H => E J F H => E * F H => E F * H => E F G H =>
: * I G K => I * G K => I J G K => I J G K => I J * K =>
: M N O L M N O L M N O L M N O L M N O L
: 35 -- 36
: A B C D A B C D
: E F G H => E F G H =>
: I J K * => I J K L =>
: M N O L M N O *
: Go finished!
--
FROM 183.179.53.*