ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1277. Cops and Thieves

Help me!What's test26?
Posted by Failed Peter 20 Apr 2004 20:03
My ACed program got Wrong Answer after rejudge,and now it got WA on test26.Who can give me some test datas?
I WA on test #26 too, help!
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 19 Sep 2004 20:03
ICY. You get WA when S=F. The prob statement doesn't say it's impossible.
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 21 Sep 2004 20:07
Re: ICY. You get WA when S=F. The prob statement doesn't say it's impossible.
Posted by Fat Peter 24 Sep 2004 20:09
but i find Test26 is not S=F,why?
Maybe you treat the edges as single-directed. But in fact they are double-directed.
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 24 Sep 2004 20:39
Re: Help me!What's test26?
Posted by Chernov Andrey [Vladimir SU] 9 Oct 2004 02:13
Try this:

5
9 10 7 1
0 2 3 10 4 2 0 5 6
1 2
1 3
2 4
3 5
4 5
4 6
4 8
6 7
7 9
8 9

the answer is 'YES'