搜索结果
查询Tags标签: 2Lf,共有 3条记录-
poj 1665(水题,简单计算)
#include<iostream> #include<cstdio> using namespace std; #define PI 3.1415927 int main(){double d,r,t,ansl,ansspd;int kase = 1;while(scanf("%lf%lf%lf",&d,&r,&t)==3&&r!=0){ansl = PI*d*r/12/5280;ansspd = ansl/(t…
2021/7/30 6:08:55 人评论 次浏览 -
poj 1665(水题,简单计算)
#include<iostream> #include<cstdio> using namespace std; #define PI 3.1415927 int main(){double d,r,t,ansl,ansspd;int kase = 1;while(scanf("%lf%lf%lf",&d,&r,&t)==3&&r!=0){ansl = PI*d*r/12/5280;ansspd = ansl/(t…
2021/7/30 6:08:55 人评论 次浏览 -
计算几何模板
using namespace std; typedef long double ld; const ld eps = 1e-8; const int N = 50009; struct Point {ld x, y;Point(ld X = 0, ld Y = 0) { x = X, y = Y; }Point operator-(Point a) { return Point(x - a.x, y - a.y); }Point operator+(Point a) { return Poin…
2021/4/22 18:55:12 人评论 次浏览