摘要: 链接: http://acm.hdu.edu.cn/showproblem.php?pid=4609题意: 给定 N 个正整数, 表示 N 条线段的长度, 问任取 3 条, 可以构成三角形的概率为多少~数据范围: N 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 typedef __int64 LL; 8 const double pi=acos(-1); 9 const int MAXN=3e5; 10 const double eps=1e-6; 11 struct C 12... 阅读全文
posted @ 2013-07-26 12:50 淡墨æ末央 阅读(254) 评论(0) 推荐(0) 编辑