Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这题的关键在于,题目中的置换不一定是字母左移右移的置换,可能是随机的一种置换。抓住一点,置换后同一种字母对应到另一种字母后个数是不变的,所是只要把两组字符串对应的每一种字母个数求出,然后排序,一一比较。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator