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*a*t)----->O(a*t)把O(n*t^20)方法中f[j]与f[j+1] 的方程列出来后做差,O(n*t)方程便出炉。 注意:由于过程中mod10^6 所以算出的数可能为负数,用10^6加上即可 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator