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

Re:自己YY了一个很NB的算法,官方数据全秒

Posted by tasty at 2014-07-28 16:03:58 on Problem 3351
In Reply To:Re:自己YY了一个很NB的算法,官方数据全秒 Posted by:tasty at 2014-07-28 14:47:48
> 16 ms过了,胡乱写了一个判定无解的函数。。
> 
> 判定无解的代码依然是一个瓶颈,暂时没有想出低于n^2的方法。。。。

官方数据水了。。。。。我写的lower_bound() 估价函数对所有的官方数据来说就是最后的答案,但是,应该可以造出让lower_bound()挂掉的数据(虽然精确度很高,也比较困难)

算lower_bound()的复杂度可以认为是线性的。。。。

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