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 |
Re:注意这句In Reply To:注意这句 Posted by:tzzhwj at 2009-01-20 17:22:47 > Substitutes for all letters must be different. For some letters substitute letter may coincide with the original letter. > > 说明替换的方法是不同的。不一定按题目的替换方法,只要被替换字母与替换字母是唯一的映射就可以了。 > > 具体解法是: > 分别对两个串的中各个字母的个数统计好后,分别放在a,b中,再排序一下。只要两个a,b两个数组完全一样就可以了。(a,b大小是26,刚好26个字母) 感谢楼主点明。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator