ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1525. Path

Please, give me some hints
Posted by Duzhy Igor 20 Feb 2007 14:33
Who can explain me how to solve this problem?
Re: Please, give me some hints
Posted by Kit 20 Feb 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
Posted by Alias (Alexander Prudaev) 20 Feb 2007 21:47
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
Posted by Index Tree 20 Feb 2007 23:32
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
Posted by svr 20 Feb 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.