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

我的code复杂读为N^2logN的,想问问怎样用hash~

Posted by liangzhirong at 2005-08-10 18:18:36 on Problem 2549
我是二分查d-c,题目要求每个数用一次,这样怎么才能用hash加速呢?
我是用一个数组保存了a+b以及生成这个值的坐标~

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