题意:
给两个圆,求它们的面积交。
分析:
海伦公式,余弦定理等可解。
代码:
//poj 2546
//sep9
#include
#include
using namespace std;
const double pi=acos(-1.0);
int main()
{
double x1,y1,r1,x2,y2,r2;
scanf("%lf%lf%lf%lf%lf%lf"...
分类:
其他好文 时间:
2015-01-23 11:21:38
阅读次数:
107
实例 定义和用法shape 属性与 coords 属性配合,可以规定区域的尺寸、形状和位置。详细解释:shape 属性用于定义图像映射中对鼠标敏感的区域的形状:圆形(circ 或 circle)多边形(poly 或 polygon)矩形(rect 或 rectangle)shape 属性的...
分类:
Web程序 时间:
2015-01-22 17:39:28
阅读次数:
271
今天给大家分享一款基于jQuery仿淘宝红色分类导航。这款分类导航适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗。效果图如下:
实现的代码。
html代码:
div id="nav">
div class="area clearfix">
div class="sepa...
分类:
Web程序 时间:
2015-01-22 15:37:08
阅读次数:
333
设置ErrorStack主要有4个级别:0 仅转储错误堆栈(0级已经被废弃)1 转储错误堆栈和函数调用堆栈2 Level 1 + ProcessState3 Level 2 + Context area(显示所有cursors,着重显示当前cursor)ErrorStack可以在实例级或会话级别设置...
分类:
其他好文 时间:
2015-01-22 12:45:38
阅读次数:
309
phpMyadmin /scripts/setup.php Execute Arbitrary PHP Code Via unserialize Vul Object Injection PMASA-2010-4
分类:
Web程序 时间:
2015-01-21 22:07:16
阅读次数:
318
-- 表的结构 areaDROP TABLE area;CREATE TABLE area ( id int NOT NULL , areaID int NOT NULL, area varchar(200) NOT NULL, fatherID int NOT NULL, PRIMARY KEY ...
分类:
数据库 时间:
2015-01-21 18:01:11
阅读次数:
848
#include
using namespace std;
class area
{
public:
area(int l,int w){length=l;width=w;cout<<"调用构造函数,设置长和宽:"<<length<<"\t"<<width<<endl;}
~area(){cout<<"调用析构函数释放内存,此时长和宽:"<<length<<"\t"<<width<<endl;...
分类:
编程语言 时间:
2015-01-21 16:35:52
阅读次数:
244
Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.使用dpHeight[]数组来记...
分类:
其他好文 时间:
2015-01-20 21:45:37
阅读次数:
199
phpMyadmin /scripts/setup.php Execute Arbitrary PHP Code Via A Crafted POST Request CVE-2010-3055
分类:
Web程序 时间:
2015-01-20 17:01:34
阅读次数:
168
move table:
SQL> startup
ORACLE instance started.
Total System Global Area 281018368 bytes
Fixed Size 2083336 bytes
Variable Size 88081912 bytes
Database Buffers...
分类:
数据库 时间:
2015-01-20 08:59:38
阅读次数:
438