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

 

你可能感兴趣的:(pku)