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 |
我跑了1110MSIn Reply To:O(n^2)的预处理在线,怎么会TLE呢? Posted by:xuhanqiu at 2009-09-17 01:28:18 也是用Tarjan 懒的用O(N+Q) 为了节省代码当作所有询问都有,写了个O(N+N^2) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator