编程介的小学生 2017-04-28 16:10 采纳率: 20.3%
浏览 758
已采纳

Wrapping Pillar

An ellipse can be determined by a pair of a and b, the half lengths of its horizontal and vertical axes, respectively. CYJJ loves ellipses so much that she plans to build a pillar with ellipse base at the center of her living room. She is to wrap the pillar by some wall-paper and you are supposed to tell her the minimum area of paper she has to buy.

Input
The input consists of several test cases, each occupies a line with 3 positive numbers: H, a and b, where H is the height of the pillar, a and b are the half lengths of the horizontal and vertical axes of the ellipse base.

Output
For each test case, output in a line the minimum area of paper that can wrap the pillar.

Sample Input:
100 10 10
10 5 10
Sample Output:
6283.19
484.42

  • 写回答

1条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 孟德尔随机化怎样画共定位分析图
  • ¥18 模拟电路问题解答有偿
  • ¥15 CST仿真别人的模型结果仿真结果S参数完全不对
  • ¥15 误删注册表文件致win10无法开启
  • ¥15 请问在阿里云服务器中怎么利用数据库制作网站
  • ¥60 ESP32怎么烧录自启动程序
  • ¥50 html2canvas超出滚动条不显示
  • ¥15 java业务性能问题求解(sql,业务设计相关)
  • ¥15 52810 尾椎c三个a 写蓝牙地址
  • ¥15 elmos524.33 eeprom的读写问题