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 |
WA的郁闷,高手告诉我为什么我用的广搜,从有零的位置开始,距离逐渐增加,如果同一距离有两个非零值则0不变,如果仅有一个则取该值,如果没有继续搜索距离+1的位置。高手帮我看看这样的算法对不对,给几个测试数据也行,谢~~~ Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator