ZOJ-1049
来源:互联网 发布:java float 判断相等 编辑:程序博客网 时间:2024/05/15 12:24
import java.util.Scanner;public class Main{public static void main(String[] args){Scanner sc = new Scanner(System.in);int count = sc.nextInt();for (int i = 0; i < count; i++){double a = sc.nextDouble();double b = sc.nextDouble();int year = (int) Math.ceil(Math.PI * (a * a + b * b) / 100);System.out.printf("Property %d: This property will begin eroding in year %d.\n", i + 1, year);}System.out.println("END OF OUTPUT.");}}
0 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
- 去除 字符串中空格/回车
- w_chart*(LPTSTR)和char*相互转换
- Android开发之Intent.Action 各个属性说明
- Linux ALSA声卡驱动之二:声卡的创建
- 960 CSS框架
- ZOJ-1049
- 进程与内存4-mmap实现1(nopage方法原理及实例)
- 装饰模式(Decorator)(包装器模式(Wrapper))
- Pro Android学习笔记(六五):安全和权限(2):权限和自定义权限
- iOS应用开发攻略 pdf电子书
- centos 6.2 安装mplayer
- 退休时每月能领多少钱?——养老金计算程序
- 那些炒作过度的技术和概念
- iPhone开发实战 pdf电子书