World Final

God Medal
Texas Trip PKU 3301

Enumerate the angle between one edge of the square and  the x-axis.

Then we can determin a range ,in which we can obtain the minimum square.

After that, we further enumerate the angel in this range and repeat this step for enough times to

make sure we can get the desired answer.Following is my code:

 

 

Code

 

posted on 2008-08-08 14:52  BLess  阅读(454)  评论(0)    收藏  举报