摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4082题目大意:给你n个点,问能最多构成多少个相似三角形。用余弦定理,计算三个角度,然后暴力数有多少个,更新答案。代码: 1 #include 2 #include 3 #include 4... 阅读全文
posted @ 2014-11-08 22:10 西域小车 阅读(236) 评论(0) 推荐(0)
|
||
|
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4082题目大意:给你n个点,问能最多构成多少个相似三角形。用余弦定理,计算三个角度,然后暴力数有多少个,更新答案。代码: 1 #include 2 #include 3 #include 4... 阅读全文
posted @ 2014-11-08 22:10 西域小车 阅读(236) 评论(0) 推荐(0) |
||