SPOJ - CIRU The area of the union of circles (圆形面积并)
题意:给n个圆的圆心与半径,求这些圆的面积并。思路:两个办法, 一个是很优美的几何做法:http://www.cnblogs.com/oyking/p/3424999.html,一个是用自适应Simpson积分来来求圆并:http://blog.csdn.net/qpswwww/article/details/44201333 。代码://几何方法#include<bits/stdc++.h>
原创
2015-11-17 01:13:39 ·
1371 阅读 ·
0 评论