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 |
500ms以下的怎么做到的?我是离散化用ST做RMQ 建立ST复杂度O(nlogn),查询是常数级的复杂度,总体应该是O(nlogn + q),但是用时依然1000+ms Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator