POJ 1005
来源:互联网 发布:河北省网络直报平台 编辑:程序博客网 时间:2024/06/13 23:12
#include<iostream>using namespace std;const double pi = 3.141592653;int main(){ int num; cin>> num; double x,y; for (int i = 0; i<num; i++) { cin>>x>>y; double are = pi*(x*x+y*y); int year = (int)(are/100+1); cout<<"Property "<<i+1<<": This property will begin eroding in year "<<year<<'.'<<endl; } cout<<"END OF OUTPUT."<<endl; return 0; }
0 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
- codevs1282 约瑟夫问题(线段树)
- [leetcode]Populating Next Right Pointers in Each Node
- Windows多线程编程(4)同步对象——Mutex对象
- 基于ZedBoard的Webcam设计(一):USB摄像头(V4L2接口)的图片采集
- sgu151:Construct a triangle
- POJ 1005
- Genymotion 模拟器
- poj 1703 Find them, Catch them 【并查集拓展】
- Windows PE文件结构简介
- POJ 1006
- Java进阶之JDBC知识点总结
- 常用元件封装
- count and say leetcode c++
- 摄像机标定用于机械臂抓举等(利用标定将图像上的点映射为三维坐标)