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 1121. Branches

Let me explain the data
Posted by Czw's Sister 7 May 2004 16:05
when you are caculating,don't use +,use or!
Re: Let me explain the data
Posted by czwweir 7 May 2004 16:42
caculating-->calculating.....

Change Your name !!!!
Re: Let me explain the data
Posted by hello 11 May 2004 08:29
I don't understand what you said.
Could you say more ?
I got WA on test17. I can't find my mistakes....
I think the sample test is incorrect.
My solution got the answer is :
2 2 -1 2 -1
3 2 2 7 2
1 8 7 5 7
1 6 5 -1 5
-1 1 4 -1 4
But the sample output is :
2 2 -1 2 -1
3 2 2 7 2
1 7 7 5 7
1 5 5 -1 5
-1 1 4 -1 4
I think the sample output is wrong , isn't it ???
Is my answer right ?
Who can tell me ????