摘要: 链接:http://acm.hdu.edu.cn/showproblem.php?pid=1700题意:给出一个圆心在原点的圆上一点,求此圆上另外两点使其构成三角形周长最长。思路: 圆内的等边三角形周长最长。View Code 1 #include <stdio.h> 2 #include <math.h> 3 #define PI 3.1415926 4 5 int main() 6 { 7 double x,y,x1,y1,x2,y2,cosx,a,b,c,r,delta; 8 int t; 9 scanf("%d",&t);10 wh. 阅读全文
posted @ 2012-09-14 17:05 淡墨æ末央 阅读(230) 评论(0) 推荐(0) 编辑