BOANY
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
历年真题
推荐题单
Login
Register
1795: 连接回文串
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:10
Solved:19
Submit
Submit Record
Statistics
ShowOff!
Description
给定两个字符串str1、str2,请你来判断一下,把这两个连接起来,能不能形成一个回文字符串。
Input
第一行一个正整数n,表示有n组数据。
接下来有n行,每行有两个字串,每个字符串包括除空格外的可见字符。
Output
输出n行,每行输出"yes"或"no",表示是回文串或不是回文串
Sample Input
Copy
3 abc ba abc cba abc bd
Sample Output
Copy
yes yes no
Source/Category
字符串
入门
Submit
Submit Record
Statistics
ShowOff!