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 1304. Parallelepiped

Am I right?
Posted by VC15 (Orel STU) 10 Jun 2005 13:02
I've been trying to solve this problem for a week. My best achievement is ML (and almost TL) on test 19.
Tell me, please, am right with my algo or there is something more effective.

My algo is recursive. For current parallelepiped I find any point that is inside it. Then I divide the parallelepiped on parts with three plane parallel to coordinate plane consicutively. So, for each parallelepiped there is 6 recursive calls of my function.

This is a brute force but I use different improvements (hash, DP, "bits arithmetics") to make my program faster.

Please, tell me am I right or I should look for another way of solving this problem.

Thanks.
May be
Posted by vano_B1 19 Jun 2005 16:38


Edited by author 19.06.2005 16:44