Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

WA的郁闷,高手告诉我为什么

Posted by billmaths at 2005-03-25 23:29:15 on Problem 2329
我用的广搜,从有零的位置开始,距离逐渐增加,如果同一距离有两个非零值则0不变,如果仅有一个则取该值,如果没有继续搜索距离+1的位置。高手帮我看看这样的算法对不对,给几个测试数据也行,谢~~~

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator