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

Re:我用BFS 一直是WA请高手指点指点 ?SOS

Posted by simbaforrest at 2007-07-21 13:45:04 on Problem 3278
In Reply To:我用BFS 一直是WA请高手指点指点 ?SOS Posted by:keky at 2007-07-20 17:24:42
你的队列好像有点问题。。。
另外,这两行没必要
if(  N < 0 || N > 100000 || K < 0 || K > 100000  )
			return 0;

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