POJ 1005--I Think I Need a Houseboat
2017-07-17 00:53
363 查看
题意
简单计算题分析
代码如下Memory: 252K Time: 0MS Length:16LINES
#include<iostream> int main() { const double pi = 3.1415927; int count = 0; double x, y; std::cin >> count; int k = 0; while (k < count) { std::cin >> x >> y; std::cout << "Property " << ++k << ": This property will begin eroding in year " << int((x * x + y * y) / 100.0 * pi + 1) << "." << std::endl; } std::cout << "END OF OUTPUT." << std::endl; return 0; }
相关文章推荐
- poj 1005 I Think I Need a Houseboat
- poj-1005-I Think I Need a Houseboat
- poj1005——I Think I Need a Houseboat
- POJ1005-I Think I Need a Houseboat
- POJ 1005 I Think I Need a Houseboat
- POJ 1005 I Think I Need a Houseboat
- POJ 1005_I Think I Need a Houseboat
- POJ 1005 I Think I Need a Houseboat
- POJ 1005.I Think I Need a Houseboat
- POJ 1005 I Think I Need a Houseboat
- poj 1005 I Think I Need a Houseboat
- poj1005——I Think I Need a Houseboat
- POJ 1005 && HDU 1065 I Think I Need a Houseboat(水~)
- poj1005 I Think I Need a Houseboat 水题
- 【POJ】1005. I Think I Need a Houseboat
- POJ 1005 I Think I Need a Houseboat
- POJ1005 I Think I Need a Houseboat
- POJ-1005 I Think I Need a Houseboat解题报告
- POJ - 1005 I Think I Need a Houseboat
- POJ1005-I Think I Need a Houseboat