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

这题 卡 时啊,暴力比较果断超时,最大的问题是不太会算时间复杂度

Posted by Los_Angelos_Laycurse at 2014-04-25 17:51:31 on Problem 2123 and last updated at 2014-04-25 17:51:56
估计需要好点的能比较大小的hash函数(这个感觉比较难,最多只能判定是否相等),
不过可以考虑一下有没有 精度误差比较大hash估价函数,先利用这个剪枝,相等
的情况再暴力比较  类似的方法。。。。

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