# POJ 1005I Think I Need a Houseboat

1.刚开始想成是整个圆了，所以一直出错；

2.ceil()函数，第一次用，详见（ceil_百度百科

#include <cmath>
#include <iostream>
using namespace std;
const double PI = 3.1415926;

int main()
{
double x, y, n;
cin >> n;
for(int i = 1; i <= n; i++)
{
cin >> x >> y;
cout << "Property " << i << ": This property will begin eroding in year " << ceil(PI * (x * x + y * y) / 100) << '.' << endl;
}
cout << "END OF OUTPUT." << endl;
}


• 本文已收录于以下专栏：

## POJ1005-I Think I Need a Houseboat

• 2011-07-29 01:21
• 21KB
• 下载

## poj 1005 I Think I Need a Houseboat

• 2009-06-01 13:31
• 540B
• 下载

## 【POJ-1005】I Think I Need a Houseboat

I Think I Need a Houseboat Time Limit: 1000MS   Memory Limit: 10000K Total Submissio...

## （POJ 1005）I Think I Need a Houseboat

I Think I Need a HouseboatDescriptionFred Mapper is considering purchasing some land in Louisiana to...

## POJ-1005 I Think I Need a Houseboat解题报告

Description Fred Mapper is considering purchasing some land in Louisiana to build his house on. I...

## poj-1005 I Think I Need a Houseboat

I Think I Need a Houseboat                     ...

## poj 1005 I Think I Need a Houseboat

I Think I Need a Houseboat Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 741...

## POJ 1005 I Think I Need a Houseboat

I Think I Need a Houseboat Time Limit: 1000MS   Memory Limit: 10000K Total Submissio...

## 【POJ】1005 I Think I Need a Houseboat

I Think I Need a Houseboat Time Limit: 1000MS   Memory Limit: 10000K Total Submissio...

## POJ1005,I Think I Need a Houseboat，数学水题

I Think I Need a Houseboat Description Fred Mapper is considering purchasing some land in Louisi...

举报原因： 您举报文章：深度学习：神经网络中的前向传播和反向传播算法推导 色情 政治 抄袭 广告 招聘 骂人 其他 (最多只允许输入30个字)