hdu 1065 I Think&…
来源:互联网 发布:mac air与mac pro区别 编辑:程序博客网 时间:2024/05/09 09:50
#include"iostream"
#include"stdio.h"
#include"algorithm"
#include"math.h"
#define PI 3.1415926 //shit!!PI必须取3.1415926
using namespace std;
int main()
{
int num,count=1;
double a,b,c;
int year;
scanf("%d",&num);
while(num--)
{
scanf("%lf%lf",&a,&b);
c=(a*a+b*b)*PI/100.0;
year=ceil(c);
printf("Property %d: This property will begin eroding in year%d.\n",count++,year);
}
printf("END OF OUTPUT.\n");
}
- hdu 1065 I Think&…
- ZOJ 1049 I Think&…
- POJ 1005 I Think I Need a Houseb…
- Lesson 39 Am I&nb…
- Lesson 57 Can I&n…
- What do I need&nb…
- What do I need&nb…
- hdu 1056 hangover&nbsp…
- hdu 1269 迷宫城堡&nbsp…
- (HDU)2527 Safe Or&nbsp…
- (hdu) 1201 18岁生日&&…
- weibo 登录&nbsp…
- Android edittext&nbsp…
- !!! FAILED BINDER&nbsp…
- java for(int i:d)&nbs…
- HDU 1754 I Hate It(线段树模版…
- hdu 1858 Max Partial Value I(DP…
- OGNL & ValueStack&…
- *hdu 2412 Party at Hali-Bula
- hdu 2040 亲合数
- hdu 1064 Financial&nbs…
- hdu 1303 doubles …
- poj 2739 sum of&n…
- hdu 1065 I Think&…
- hdu 1056 hangover&nbsp…
- 我的博客今天0岁324天了,我领取了…
- poj 3299 humidex
- hdu 1197 Specialized …
- hdu 2734 quicksum //简单校验算法
- hdu 1304 A Contes…
- poj 3006 Dirichlet&#03…
- 关于int64型的说明