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 |
Re:复杂度应该是PV^3,不过前面系数不大In Reply To:好不容易ac了,贴个代码 Posted by:mandycool at 2012-08-14 12:58:22 用额外空间的话,应该可以把calSum(int i,int j)复杂度从O(V)降低到O(1) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator