But If we count to maxdis=(r/sin(0.005/180*PI)) ,
suppose r=1 ,so that we have to count to 5729 ,it may get TLE.
Am I right?
and how cound you judge whether that tree is obscure or not??
count the angle of it position or slope of it position??
However,i think both of these methods will get TLE.
this article is write by Erik Well, after trying some new things again I finally got AC for this problem. Here are some things I found out which might be usefull:
- Input coordinates are all integers (so this problem is solvable in an exact way, no doubles required) - Input coordinates are all ...