poj_1005
来源:互联网 发布:淘宝小众服装品牌 编辑:程序博客网 时间:2024/06/06 02:44
#include<stdio.h>#include<math.h>int num;float x,y;int i,year;double calc;int main(){scanf("%d",&num);for(i=1;i<=num;i++){scanf("%f %f ",&x,&y);calc=(x*x+y*y)*3.14/2/50;year=ceil(calc);//向上取整函数printf("Property %d :This property will begin eroding in year %d.\n",i,year);}printf("END OF OUTPUT.\n");return 0;}
1 0
- POJ_1005
- POJ_1005
- poj_1005
- poj_1005
- 结题报告:POJ_1005
- 每日ACM小题--POJ1006——中国剩余定理的完美诠释 2013年11月04(附录POJ_1005水题一枚)
- poj_1003
- iOS UI 15 网络编程2
- JS一起学05:Date对象、封闭空间、函数传参和封装、获取非行间样式、字符串操作
- 软件开发中的团队效应
- unity2d创建一个随机方向运动对象
- poj_1005
- 便利器的使用方法
- 第九周项目2-对称矩阵压缩存储的实现与应用(2)
- git配置
- [leetcode] 263. Ugly Number 解题报告
- HDU 1257 最少拦截系统(DP和贪心)
- Java 多线程(三)线程间的通信jdk1.5中Lock,Condition---生产者消费者为例
- iOS UI 16 图片加载第三方 SDwebimage
- iOS UI 17 网络请求封装