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 |
超时的注意啦搜索的时候更新下第一次到每个点的时间a[x][y],如果现在时间大于a[x][y],这个点就不用去了..... 其实我也蛮笨的,居然没想到这个....后来实在忍不住,看了USACO的analysis..... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator