Be extra cautious for N = 15. When N = 15, does the sequence { 6A7D } yields the maximum where M = 42? Imagine if you have a very large number of keystrokes to enter, does pressing CTRL+V forever gives you the maximum sequence? Remember, you can redo the entire { CTRL+A, CTRL+C, CTRL+V } operations again and potentially maximizes the sequence. For N = 15, the maximum sequence should be: { 3A4D4D }, which yields M = 48.
【在 i*****e 的大作中提到】 : Be extra cautious for N = 15. : When N = 15, does the sequence { 6A7D } yields the maximum where M = 42? : Imagine if you have a very large number of keystrokes to enter, does : pressing CTRL+V forever gives you the maximum sequence? Remember, you can : redo the entire { CTRL+A, CTRL+C, CTRL+V } operations again and potentially : maximizes the sequence. : For N = 15, the maximum sequence should be: : { 3A4D4D }, which yields M = 48. : : 不对。还有一个输入是'A', 主要就是确定一开始输入几个A. 然后再ctrl+A, ctrl+C,