POJ 1005 I Think I Need a Houseboat 水题
2012-05-26 16:16
573 查看
水题一道
//POJ 1005 #include <iostream> #include <cmath> using namespace std; int main() { int caseNum; float x, y; int n; cin >> caseNum; for (int i = 1; i <= caseNum; i++) { cin >> x >> y; n = ceil((x*x+y*y)*3.1415/100); cout << "Property "<<i<<": This property will begin eroding in year "<<n<<"."<< endl; } cout << "END OF OUTPUT." <<endl; // system("pause"); return 0; }
相关文章推荐
- poj1005 I Think I Need a Houseboat 水题
- I Think I Need a Houseboat - POJ 1005 水题
- 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,数学水题
- 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
- 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