摘要: 2014-06-1320:24:16题意&思路:主要是用S(ABC) =?= S(ABP) + S(APC) + S(PBC)来判断P是否在三角形ABC内,暴力枚举即可。#include #include #include #include #include using namespace std;... 阅读全文
posted @ 2014-06-13 20:26 Naturain 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 2014-06-1300:18:59题意&思路: 这个几何题挺有意思,总的思想就是把长a和宽b扩展分别扩展成n,m倍(n为长边的库数,m为宽边的库数),然后便是求对角线对应的角度和长度的问题了。代码精简。#include #include #include using namespace std;c... 阅读全文
posted @ 2014-06-13 00:30 Naturain 阅读(154) 评论(0) 推荐(0) 编辑