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 |
一开始想的方向就错了……居然往二分上想,想了好久都想不出思路:对方程做个处理,将O(n^5)->O(n^2+n^3),其实也就是O(n^3),计算量降到百万次,然后用short存储hash即可…… Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator