|
|
вернуться в форумThose who worked above this program, help me. I receive Wrong Answer on the test №14. What can it be? I've just solve it! Here are some tests! 5 5 Mean = 1.20 0 1 2 2 1 5 1 Mean = 1.20 0 1 2 2 1 5 2 Mean = 0.8 1 1 0 1 1 And don't forget that the first simbol is connected with the last! It helped me to pass WA#12! Good Luck! Thanks to all who helped me. It was my first ACM problem which i tried to solve. :) And don't forget that the first symbol is connected with the last! It helped me to pass WA#12! It did not help me, however; I still have WA#12 My program's output on your first two tests is placing the zero in the middle, but the task says: "If there are several variants, output any of them", so I don't think that would make the output fail. Maybe I am wrong? Edited by author 27.11.2007 04:36I want to add that you can't move UP if there is no cell upper current cell and you can't move DOWN if there is no cell lower current cell. One more test: 1 1 Mean = 0.00 0 |
|
|