POJ-1005
来源:互联网 发布:手机淘宝怎样添加好友 编辑:程序博客网 时间:2024/06/05 16:02
来源:http://poj.org/problem?id=1005
怎么POJ前面的题都那么水= =
#include <iostream>#include <cstdio>#include <cmath>using namespace std;#define pi 3.1415926int main(){ int N; cin>>N; for (int Ncase=1;Ncase<=N;Ncase++) { double x,y; cin>>x>>y; double k=x*x+y*y; double kk=k*pi/2; int s=floor(kk/50.0)+1; cout<<"Property "<<Ncase<<": This property will begin eroding in year "<<s<<"."<<endl; } cout<<"END OF OUTPUT."<<endl; return 0;}
- POJ 1005
- POJ-1005
- POJ 1005
- poj 1005
- POJ 1005
- POJ 1005
- POJ 1005
- POJ-1005
- POJ 1005
- poj 1005
- POJ 1005
- poj 1005
- poj 1005
- POJ 1005
- poj 1005
- poj 1005
- poj 1005
- POJ-1005
- easyui datagrid 让某行复选框置灰不能选
- POJ-1001
- POJ-1003
- POJ-1002
- POJ-1004
- POJ-1005
- C和C++中的数字与字符串的转换
- POJ-1006
- POJ-1007
- POJ-1008
- USACO-Contact
- USACO-Stamps
- USACO-Factorials
- 单例设计模式