#abc147b. [abc147_b]Palindrome-philia

[abc147_b]Palindrome-philia

有一个字符串 SS ,每次可以花费一个价值,将一个字符改成另一个字符。
求最小价值使其变成回文串。
by djh123456