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 |
一次ac呵呵,将字典里单词按长度排序,长度相同的按字典序排,遇到一个单词,获取其len,先在长度为len的字典部分二分搜索,若搜到则输出correct;否则线性扫描长度为len-1,len,len+1的单词,将结果按照要求输出。Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator