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+几个优化就过了,32ms 还可以

Posted by xjtudaniel at 2009-09-21 15:04:25 on Problem 1724
In Reply To:话说我用 bfs+几个优化就过了,32ms 还可以 Posted by:schindlerlee at 2009-08-04 14:14:34
if (tmp->cost <= t.left)
else if(t.left - tmp->cost >= lef[tmp->to])

你这个能走else if分支么?

p.s: 话说我和你的策略一样,竟然TLE

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