原创 Codeforces Round #470 (Div. 2) A Protect Sheep (基礎)輸入輸出的警示、邊界處理

Bob is a farmer. He has a large pasture with many sheep. Recently, he has lost some of them due to wolf attacks. He thu

原创 HDU 3068 最長迴文 (Manacher最長迴文串)

Problem Description給出一個只由小寫英文字符a,b,c...y,z組成的字符串S,求S中最長迴文串的長度.迴文就是正反讀都是一樣的字符串,如aba, abba等 Input輸入有多組case,不超過120組,每組輸入爲一