P4036-[JSOI2008]火星人 题目: 题目描述: 火星人最近研究了一种操作:求一个字串两个后缀的公共前缀。 比方说,有这样一个字符串:ma
P1001-A+B Problem 题目: 题目描述: 输入两个整数 $a,b$,输出它们的和($|a|,|b|\leq 10^9$)。 注意 Pascal 使用 integer 会爆掉哦! 有负数哦! C/C++ 的 main 函数必
CF30E-Tricky and Clever Password 题目: 题目描述: In his very young years the hero of our story, king Copa, decided that his private data was hidden not enough securely, what is unacceptable for the king. That’s why he invented tricky and clever password (later he learned that his password is a palindrome of odd length), and coded all his data using it. Copa is afraid
P4287-[SHOI2011]双倍回文 题目: 题目描述: 记字符串$w$的倒置为$w^R$。例如$(abcd)^R=dcba$,$(abba)
P4555-[国家集训队]最长双回文串 题目: 题目描述: 顺序和逆序读起来完全一样的串叫做回文串。比如acbca是回文串,而abc不是(abc的
CF17E-Palisection 题目: 题目描述: In an English class Nick had nothing to do at all, and remembered about wonderful strings called palindromes. We should remind you that a string is called a palindrome if it can be read the same way both from left to right and from right to left. Here are examples of such strings: «eye», «p