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 |
感觉应该用二分做,枚举太诡异了。。。最快logN,最慢则退化都N。 http://hi.baidu.com/findthegateopen/blog/item/f95e4fdb469ce3d3b6fd489f.html Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator