poj 1005 [简单计算]
来源:互联网 发布:中国网络直播平台排名 编辑:程序博客网 时间:2024/06/03 23:38
#include <iostream>#include <cstdio>#include <cstring>#include <cmath>#define BUG puts("here!!!");using namespace std;const double PI = 3.1415926;int ca;double x, y;double calc;int years;int main() {cin >> ca;for(int i = 1; i <= ca; i++) {scanf("%lf%lf", &x, &y);calc = (x*x + y*y) * PI / 2 / 50;years = ceil(calc);printf("Property %d: This property will begin eroding in year %d.\n", i, years);}printf("END OF OUTPUT.\n");return 0;}
- poj 1005 [简单计算]
- poj 1004 [简单计算]
- poj 1552 [简单计算]
- poj 3094 [ 简单计算]
- POJ 1665简单计算
- poj 2739 简单计算
- POJ 2624 简单计算几何
- POJ 1675 简单计算几何
- POJ 2850 Stacking Cylinders 简单计算几何
- POJ 1106 Transmitters (简单计算几何)
- poj 1113 凸包+简单几何计算
- POJ 1269 Intersecting Lines 简单计算几何
- poj-2801-填词-C语言-简单计算
- poj 题目2398 Toy Storage (简单计算几何)
- POJ 1264 UVA 109 简单的计算几何
- POJ 1657 Distance on Chessboard 简单的计算问题
- POJ 2405 Beavergnaw (计算几何-简单题)
- POJ 4048 Chinese Repeating Crossbow 简单计算几何
- HDU 2065
- mac80211
- Canvas中svae()与restore()的使用
- Java接口中属性和方法的默认修饰符
- SQL Server 问题汇总
- poj 1005 [简单计算]
- iPhone开发【二十】数据持久化总结之第1篇—NSUserDefaults
- lua if条件语句的实现
- 关于neural network的一些资料
- 汇编语言摘录35:伪指令dd、dup
- Android中SoundPool播放音乐
- 汇编语言中loop指令的使用
- ORACLE 11g R2 RAC群集堆栈的关闭过程分析
- MIME协议(三) -- MIME邮件的组织结构