UVA11151 Longest Palindrome

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=23&page=show_problem&problem=2092 [PDF](https://uva.onlinejudge.org/external/111/p11151.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11151/c8554e5b318cd02c15ffe68f471c2ceaf0d8b795.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11151/f1c6bfb21179da3056ea16f03332185e771f6270.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11151/d8b3a70185757417dc214650029324d9906b18b3.png)