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

Ras Misha [t4ce] Why WA#4??? Please give me some tests [4] // Problem 1489. Points on a Parallelepiped 7 Jan 2010 04:59
[code deleted]

Edited by author 07.01.2010 14:37
Sergey Lazarev (MSU Tashkent) Re: Why WA#4??? Please give me some tests [1] // Problem 1489. Points on a Parallelepiped 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.
Ras Misha [t4ce] Thank you=) // Problem 1489. Points on a Parallelepiped 7 Jan 2010 14:37
I'm very inattentive
Thank you, thank you
BinaryMind [RAU] Re: Why WA#4??? Please give me some tests [1] // Problem 1489. Points on a Parallelepiped 6 Oct 2014 02:26
This test helps me to pass test#4
3 3 3
4 7
4 2

Answer: 3.000000000
Lol, it helped indeed. I assigned Z twice instead of assigning Z and Y in the case of a bottom face of the figure.