zoj-1049
来源:互联网 发布:网络钮祜禄是什么梗 编辑:程序博客网 时间:2024/05/16 09:03
#include<iostream>#include<cmath>#include<cstdio>using namespace std;#define PI 2*acos(0.0)int main(){ int n,cnt=1,year; cin>>n; double x,y,r,area; while(n--) { cin>>x>>y; r=x*x+y*y; area=PI*r/2.0; year=(int)ceil(area/50.0);//ceil(doube x)得到大于x的最小整数 cout<<"Property "<<cnt++<<": ";//有空格 cout<<"This property will begin eroding in year "<<year<<"."<<endl; } cout<<"END OF OUTPUT."<<endl;//少了这句 return 0;}
- zoj 1049
- zoj-1049
- ZOJ 1049
- ZOJ-1049
- zoj 1049
- ZOJ-1049
- ZOJ 1049
- ZOJ-1048,1049
- ZOJ 1048 1049 1051
- 浙大ACM-ZOJ 1049
- ZOJ Problem Set - 1049
- ZOJ Problem Set - 1049
- ZOJ Problem Set - 1049
- ZOJ
- ZOJ
- ZOJ
- ZOJ
- ZOJ
- 理解REST软件架构
- GDI+中的坐标系
- 抽奖滚动文字如何透明地覆盖在动态视频背景上?-活动现场双屏管理系统操作提示
- static 作用
- 简单的说说对GDI+坐标系的理解
- zoj-1049
- 理解MySQL——复制(Replication)
- ffmpeg+crtmpserver
- C# word中添加横线
- 字符转换工具类
- jxl架包操作excel表格
- WinDBG教程
- Repeater控件的点击事件
- onItemClick以及onItemLongClick等易模糊问题验证