|
|
It's a complete disaster! I just don't get it. 1) Quote: "Exactly 1 mm of precipitations fall down on the pitch each minute" Another quote: "You should output the average amount of precipitations (in millimeters) falling on the pitch in a minute." So the reasonable question is: "Why the answer is just the area of the pitch without a small piece??" It shoud be less than one millimeter! Ammount of precipitations is the height of the water column that arises from the surface in a particular period of time. Hence under the umbrellas the ammount equals to zero. And according to the statement the answer is (1 - area_covered_with_umbrellas / area_of_the_pitch). 2) Quote: "All the water that has fallen on an umbrella streams down along the shortest way on the hemisphere." So what? Does it mean that the water from the umbrella falls back on the pitch without changing the answer? Or, may be, it changes somehow the ammount of precipitations in the area near the umbrella... And if the umbrella is on the border of the pitch, than what ammount of water falls outside the pitch - area of spherical sector or area of its projection or area of spherical sector minus area of the layer falling out of the pitch? BTW None of these variants didn't produce the answer given in the sample output. I'd appreciate any information you could give me to remove an ambiguity. 1)HINT: за счёт зонтов осадков может выпасть больше. 2)"Вся вода попавшая на зонт, стекает по радиусам зонта от центра к краям" и затем падает вертикально вниз. Help! Test : 1 2 1 1 0.5 Answer: 1.1339745962155616 Eternal, your test is incorrect, because the posts on the corners of stadium will not give to the person with umbrella to stand up in this point. Or I am wrong? Edited by author 15.04.2011 20:02 test 28 is like that: 2 2 1 0 4 correct answer is 4.0 Just be careful with distances to borders :) This test helped me: 1 1 1 -0.5 100 ID=2465032 --> WA 19 ID=2465031 --> Accepted Only difference is some assertion which failed (I use assert() function from <cassert>) Why WA? Why not RE? Maybe "Release" mode disables asserts and you should use your own assert implementation to get RTE? There no checks for return value. RE only when Access Violation and some others things Funny.... in first 23 tests W=L First read y then x coordinate.... Finally got AC! Edited by author 03.11.2005 23:06 Hm… What is it? Is it mistake? I also got WA on 24, but then I swap W and L I got AC. In problem written "The first line contains two integers W and L", but we must read this line as "The first line contains two integers L and W". I think it's mistake :) Really, swap L and W, I passed 24 test. Thx, i changed L and W and got AC! People in the stadium area are motionless. There coordinates are known. -> People in the stadium area are motionless. Their coordinates are known. To admins. Add this test please: 1 1 1 0.5 0.1 Because my run with ID 1991789 gives the answer 0.467, my run with ID 1991794 gives the answer 0.075. But both are accepted. P.S. It's very special case. Please, study more carefully case L=W=1. It contains about 7 different situations. New tests have been added. Many authors have lost AC. It never occured to me, there was a bug in the old solution. What kind of bug did u have ? thanks... I got AC... Edited by author 21.02.2008 13:51 Try this test 10000 1000 3 -10000 10000 9999.5 -2000 -3000 9999.5 answer is 10000000.000 Edited by author 19.02.2008 20:02 Edited by author 19.02.2008 20:02 good test... thank you Levenets... AC, now ... I can't understand how it was AC before rejudge... admins, nice work. Edited by author 25.03.2008 23:40 Understood. However now WA 25. And do not know why... Edited by author 13.09.2007 03:59 give me some tests!please Edited by author 31.10.2006 20:21 I had the same problem when used (L - x < 1) condition. After fix to abs(L - x) < 1 I had AC I found the statement of the problem to be incorrect. Concider sample input and sample output. Certainly, the square of the stadium equals 100 sq. meters, but average amount of the rain CAN NOT be 99.666, since it is calculated as total volume (or mass) of the water divided by square of the stadium. Therefore, it can not be greater that 1 mm. May be you mean TOTAL VOLUME (measured in mm^3) in your question? That must be true. What a huge bug!! ( is it still a bug? ) I think there is nothing with volumes, but the statement is still wrong: maybe the input details are all given in millimeters - then the result is correct. As I now understand 1 mm per minute its normal watering, but when we have some umbrelas some water doesnt fall under ubmberlas and other part of stadium have much watering. Or what? I did not understand what i must found! Please Help! |
|
|