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

Why WA#4??? Please give me some tests
Posted by Ras Misha [t4ce] 7 Jan 2010 04:59
[code deleted]

Edited by author 07.01.2010 14:37
Re: Why WA#4??? Please give me some tests
Posted by Sergey Lazarev (MSU Tashkent) 7 Jan 2010 13:02
In 5th constructor (pts[i] = new Point3D(B, C - (x[i] - A - C), y[i] - B - C);) X must be equal to A.
Thank you=)
Posted by Ras Misha [t4ce] 7 Jan 2010 14:37
I'm very inattentive
Thank you, thank you
Re: Why WA#4??? Please give me some tests
Posted by BinaryMind [RAU] 6 Oct 2014 02:26
This test helps me to pass test#4
3 3 3
4 7
4 2

Answer: 3.000000000
Re: Why WA#4??? Please give me some tests
Posted by die_young 10 Jul 2018 16:32
Lol, it helped indeed. I assigned Z twice instead of assigning Z and Y in the case of a bottom face of the figure.