Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Voller on September 28, 2021, 08:18:26 pm

Title: help c++
Post by: Voller on September 28, 2021, 08:18:26 pm
In a rectangular room W on H there is a rectangular table whose sides are
parallel to the sides of the room. The lower-left corner of the table is at the point
(x1, y1), and the upper-right corner is at the point (x2, y2). You want to put
another rectangular table with a width w and a height h in this room so that the side
corresponding to the width of the table is parallel to the side of the room
corresponding to its width. (tables can touch each other, but they cannot
have a common area).
What is the minimum distance to move the first table so
that a second table can be placed in the room? Turn the tables - forbidden. The calculations use the Cartesian (from Rene Descartes) system
coordinates.
Title: Re: help c++
Post by: AndrewCot on September 29, 2021, 01:55:26 am
Please read the following post:
https://forums.codeblocks.org/index.php/topic,9996.0.html
Title: Re: help c++
Post by: sodev on September 29, 2021, 02:54:37 am
Don't feed the bots!