Rearrange the digits in ⟨1263045⟩ to meet the rules below.
⟨6th 5th 4th 3rd 2nd 1st 0th⟩
✅Match
max {p3, p2} = 6
{p6, p5, p1, p0} = ? + {0,1,2,3}
Jump(1,5) = 2
6th → 5
Jump(4,5) ≤ 4
⛔Avoid
{p2, p1, p0} = ? + {0,1,3}
max ⊢0⊣ = 4
#125034_v2.7
2024-11-07 Q1(m=6)
6543210
-------
5------
5--1---
5--16--
5-016--
5-0164-
530164-
5301642
#125034_v2.7
No comments:
Post a Comment