#100952H

Gym 100952H&&2015 HIAST Collegiate Programming Contest H. Special Palindrome【dp预处理+矩阵快速幂/打表解法】

timelimitpertest:1secondmemorylimitpertest:64megabytesinput:standardinputoutput:standardoutputAsequenceofpositiveandnon-zerointegerscalledpalindromicifitcanbere...