Problem 45346. Grazing-02
37.5% Correct | 62.5% Incorrect
Last Solution submitted on Dec 30, 2020
Show 2 older comments
William on 20 Feb 2020
Asif -- I am getting a different result for test problem 6.
David Hill on 21 Feb 2020
I got the same answer as you. I think it is correct.
Asif Newaz on 21 Feb 2020
in test 6,there will be an overlap. if u consider that, i think it should be ok.
i'll add some more test cases like that.
William on 21 Feb 2020
Ooops! I didn't consider that.
Atsushi Ueno on 11 Mar 2020
If the rope is so longer than the rectangle barn and the cow can turn round and round, 3 of "4 quadrants" does not increase the grazing area, it is just 3/4 sector of a circle. The problem is 1 of 4 quadrants.
Problem Recent Solvers9
Back to basics 11 - Max Integer
More from this Author165
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!