1037 可排列相等
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
32M
Problem types
Allowed languages
C, C++, Java, Python
Description
如果一个字串,通过颠来倒去的位置重组能够转变成另一个字串,那么就称为“可排列相等”。给出一些文字行,它们两两成对,中间空一行。请你逐一判断它们每一对是否“可排列相等”。
Sample
Input
Oh, my goodnessmultiple lines!
yg doo, shOmens emlusleip!tlin
perplexed
exdrelper
Output
yes
no
Comments