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

小心了,当v=0或v=1时,也要把数据读完...

Posted by livingroom at 2009-07-23 18:13:37 on Problem 3013
In Reply To:faint,居然有v=0和v=1的例子,这地方挂N次。 Posted by:ccnuzhang at 2009-07-14 16:30:18
> Dij的时候 v=0和v=1就会死掉。。faint。我记住你了



汗...我当v=0和v=1直接输出0,continue,结果一直TLE和RE了无数次
原来当v=0或v=1时,也有边的数据...可能是1->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