PAT1040 Longest Symmetric String (25分) 中心扩展法+动态规划
题目Givenastring,youaresupposedtooutputthelengthofthelongestsymmetricsub-string.Forexample,givenIsPAT&TAPsymmetric?,thelongestsymmetricsub-stringissPAT&TAPs,henceyoumustoutput11.InputSpecification:Eachi