|
|
вернуться в форумPlease, give me some hints Who can explain me how to solve this problem? Re: Please, give me some hints Послано Kit 20 фев 2007 14:44 Firstly try to solve similiar problem in one dimension. Then you will find 3D-answer easily. Good luck! Re: Please, give me some hints I know how to generalize solution of 1-dimensional problem to case 3d, but i can't solve 1-dimensional problem :) Re: Please, give me some hints I think it's a "not hard combinatorial task" but I cannot get the sample output on test 3, it think it should be 13*13*10 Re: Please, give me some hints Послано svr 20 фев 2007 23:42 In one dimension is enough to find final positions of left and right ends of segment only. All coordinats between these positions are achievable. |
|
|