poj 1005
来源:互联网 发布:打印机显示网络 编辑:程序博客网 时间:2024/06/15 20:34
poj 1005 已accept
#include<stdio.h> #include<math.h> int main() { int i,n; float pi,x,y,years; scanf("%d", &n); pi = acos(-1); for(i=1; i<=n; i++) { scanf("%f%f",&x,&y); years = pi*(x*x + y*y)/100; printf("Property %d: This property will begin eroding in year %d.\n",i,(int)years+1); } printf("END OF OUTPUT.\n"); 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
- poj 1004
- java入门--抽象和接口
- 但前提是必须选择Document/View结构
- HTML菜鸟入门3
- linux Ubuntu 虚拟机 集群 安装配置 安装git 创建裸仓库0814 1.1
- poj 1005
- Oracle之使用proc增删改查
- 读书笔记_代码大全2第十一章_选择好的变量名
- JavaScript基本概念(变量 数据类型)
- 首先是如何来加快Android的编译过程
- 广义拉格朗日函数的理解
- docker-image container 基本操作 -常用命令
- js练习--小圆链
- ConcurrentModificationException引发原因源码简析