模板
LSC_333
此人很懒
展开
-
大数模板
class bigInt{public: int num[302],len; bigInt() {num[0]=0,len=0;} bigInt operator=(const int &a) { int tmp=a; len=0; while(tmp) num[len++]=tmp%10,原创 2017-08-22 20:13:04 · 166 阅读 · 0 评论 -
两圆相交,求相交的面积模板
#include#include #includeusing namespace std;#define pi acos(-1.0)typedef struct node{ int x; int y;}point;double AREA(point a, double r1, point b, double r2){ double d = sqrt(原创 2017-09-01 14:07:18 · 408 阅读 · 0 评论