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 |
对dictionay的字符串排序,再对字符串内的字符排序,然后比较就可以了先对dictionary里所有的word按照字典序排序,据我研究,用qsort函数。 再对dictionary里的每个word里的字母和密码里的每个word的字母排序,然后就可以直接比较了。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator