|
|
My bee had to make only 200 flights, if you know what I mean :) 100 flights wasn't enough to get AC -200 -5 0 200 -5 0 0 200 0 answer should be 16707.55 (> pi*r*r/2), not 14708.38 (my AC program) To be careful with function for numerical methods Consider 2D problem in polar coordinates: intersect disk with given radius R and center in the origin with triangle with vertexes in origin, (R1,0), and (R2,phi). Solve it using quadratic equation... Combine the algebraic sum of solutions to get the final result. Edited by author 12.04.2018 22:45 Why do I get wrong answer in the 42th case? Вы можете сказать 20-ый тест? First case with circle intersected triangle. |
|
|