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:我只找经过s的环的时候过不了,要找埋不经过s的才能过,你们呢?

Posted by yy17yy at 2010-12-21 22:27:12 on Problem 1860
In Reply To:我只找经过s的环的时候过不了,要找埋不经过s的才能过,你们呢? Posted by:posa88 at 2010-12-05 10:27:39
我是spfa,,,结果YES有2种情况,,第一个是s第二次入队列,,这是显然的,,,
第二个是出现负环,,,这个可以这样想,,出现负环就是无限增值的过程,,,就是他能得到任意多的钱,而兑换永远是双向的,,,他有足够的钱说明什么,,,说明他肯定能回到s,,,并且拿到比原来多的钱,,只是他愿不愿意的问题.....

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