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.