CF667A Pouring Rain
题目描述
有一个直径为 $d$ **厘米**的水桶。
原先桶里水深度为 $h$ **厘米**。
你在喝桶里的水,喝水的速度是 $v$ **毫升每秒**。
不喝水时桶内水面上升速度为 $e$ **厘米每秒**。
现在一边下雨,你一边喝桶里的水。
如果你喝的速度赶不上降水速度,输出"NO",否则输出"YES"和你需要几秒喝光水。
输入格式
四个整数 $d,h,v,e$。
输出格式
"NO"(不带引号)或者"YES"和喝光水需要的时间(一个实数)。
说明/提示
In the first example the water fills the cup faster than you can drink from it.
In the second example area of the cup's bottom equals to , thus we can conclude that you decrease the level of water by  centimeters per second. At the same time water level increases by $ 1 $ centimeter per second due to rain. Thus, cup will be empty in  seconds.