SoCoding 1024 Puzzle 2022

Problem K. DP: SoCoding1024Puzzle2022

Akatuki finds Computer Science an interesting topic to learn. On 24th Oct. She will be participating in the puzzle game held by IJN. Unfortunately, she cannot even pass the first level. Which, requires her to find the most common feature(longest common subsequence) of these two strings below. However as an l(レ)a(イ)d(デ)y(ィ), an elegant female, surely it cannot be possible for Akatuki to code. Would you like to help her solve this problem?

str1 = aecaeddebbdbaaaedececcedabccdcbacedaebdabcbcaaddbdabbeedaeacbdeddaabeaabdcabbabbacbbdddaecaeceeeeacedabceddedebbcabbbebbdbabddcc

str2 = baebeebbbbabaedbecbcddcedacdbddaaecdddacdcabecbbeeadcbcecdcbbddabcecadbddedcbcdbbcbbbeceebaeedaeabeaedcacbddbcbdcaebcbeaadaeabca

输入

输出

本题可能多解,输出任意一个解均可

登录以提交代码。
单点时限 1 秒
内存限制 256 MB
提交 121
通过 34

A B C D E F G H I J K L M N O

C题答案是个12位数捏