Codeforces и Polygon могут быть недоступны в период с 23 мая, 7:00 (МСК) по 23 мая, 11:00 (МСК) в связи с проведением технических работ. ×
[Coordinate geometry] How to solve this ?
Разница между en1 и en2, 4 символ(ов) изменены
Can someone please explain how to solve this question ?↵

Given a continuous plane, there are **N** circles each having coordinate like **(c<sub>i</sub>x, c<sub>i</sub>y)** and radius **r<sub>i</sub>**. Given a rectangle( the rectangle has length parallel to x-axis and breadth parallel to y-axis) having top-left corner as **P1(p<sub>1</sub>x, p<sub>1</sub>y)** and bottom-right corner as **P2(p<sub>2</sub>x, p<sub>2</sub>y)**. Tell if it is possible(
 **true or false** ) to travel from **P1** to **P2** **without touching or crossing the circles while being inside the rectangle.**↵

**NOTES:**↵

* **The coordinates are NOT necessarily integer coordinates.**↵
* **The trajectory of travel from P1 to P2 may not necessarily be a straight line, it can be anything (think of it like a river).**↵

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ex_hausted 2021-08-23 06:05:49 4 Tiny change: 'ble(**true** or **false**) t' -> 'ble(**true or false**) t'
en1 Английский ex_hausted 2021-08-23 06:04:11 837 Initial revision (published)