蓝桥杯1111: Cylinder题解

凯凯我们等你回来 算法基础篇 52 0
题库丰富多样,涵盖各个领域,全网最全C++题库,让您在练习中不断成长!
Using a sheet of paper and scissors, you can cut out two faces to form a cylinder in the following way:. Cut the paper horizontally to get two rectangular parts.From the first part, cut out a circle of maximum radius. The circle will form the bottom of the cylinder.Roll the second part up in such a way that it has a perimeter of equal length with the circle's circumference, and attach one end of the roll to the circle. Note that the roll may have some overlapping parts in order to get the required length of the perimeter.Given the dimensions of the sheet of paper, can you calculate the biggest possible volume of a cylinder which can be constructed using the procedure described above?

Using a sheet of paper and scissors, you can cut out two faces to form a cylinder in the following way: Cut the paper horizontally (parallel to the shorter side) to get two rectangular parts. From the first part, cut out a circle of maximum radius. The circle will form the bottom of the cylinder. Roll the second part up in such a way that it has a perimeter of equal length with the circle's circumference, and attach one end of the roll to the circle. Note that the roll may have some overlapping parts in order to get the required length of the perimeter. Given the dimensions of the sheet of paper, can you calculate the biggest possible volume of a cylinder which can be constructed using the procedure described above?

蓝桥杯1111: Cylinder题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)
不断学习,不断挑战,才能在编程领域中脱颖而出!全网最全C++题库,助您成为编程高手!

标签: 蓝桥杯1111: Cylinder题解