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 1020. Rope

I think there are something wrong with the test data
Posted by Bei XiangShun 1 Nov 2014 09:27
I got "wrong answer" many times on test#4. I think the reason was that I added abs() function on R. Because after I removed the abs(), I got accepted. However, set r as a negative number has no meaning. How can you say this nail is (-1) meter?
So I think it's a mistake of the test data, author plz check it.