摘要:
题意:给定一个点 一个圆,一个矩形,求点到圆上再到矩形的最短距离解题思路:三分圆上点的弧度解题代码:#include <stdio.h>#include <math.h>double ans ;double x1,y11,x2,y2,x,y,r,cx,cy;void fen(double low ,double high){ double dis(double a,double b,double c,double d); double dis1(double i , double j ); double tx , ty; double ansmid1 ; doub... 阅读全文