HDU 4709 Herding
摘要:
暴力+精度,精度把我坑了,狠狠的教训啊!题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4709就是求所有点构成的三角形面积中,最小的面积。直接上代码,一般控制好精度就没什么问题了。 1 #include 2 #include 3 using namespace std; 4 #include 5 #include 6 #include 7 #include 8 9 #define repA(p,q,i) for( int (i)=(p); (i)!=(q); ++(i) )10 #define repAE(p,q,i) for( int (... 阅读全文
posted @ 2013-09-09 11:32 码农之上~ 阅读(151) 评论(0) 推荐(0) 编辑