Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

一次ac呵呵,将字典里单词按长度排序,长度相同的按字典序排,遇到一个单词,获取其len,先在长度为len的字典部分二分搜索,若搜到则输出correct;否则线性扫描长度为len-1,len,len+1的单词,将结果按照要求输出。

Posted by zilongz at 2010-06-30 19:59:29 on Problem 1035 and last updated at 2010-06-30 20:00:29


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator