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 1489. Points on a Parallelepiped

WA#42...What's fault?
Posted by Yashar Abbasov 12 Mar 2008 22:15
Maybe there is a special case that is not mentioned in the problem or I didn't understand... Can you give some tests?
Re: WA#42...What's fault?
Posted by Denis Koshman 3 Aug 2008 15:37
I didn't work on any of special cases. There is a good test - points that are close on the surface will be pretty close in 3D space. Otherwise you've flipped something. Also check boundary cases, especially on the edge of the envelope.