|
|
вернуться в форумHELP!!!!!!!!!!! Those who worked above this program, help me. I receive Wrong Answer on the test №14. What can it be? Re: HELP!!!!!!!!!!! Послано AlexF 9 сен 2006 23:06 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! Re: HELP!!!!!!!!!!! Послано Bob 3 ноя 2006 19:04 I 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. Re: HELP!!!!!!!!!!! One more test: 1 1 Mean = 0.00 0 Re: HELP!!!!!!!!!!! Thanks to all who helped me. It was my first ACM problem which i tried to solve. :) Re: HELP!!!!!!!!!!! Послано Snetch 27 ноя 2007 04:33 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:36 |
|
|