Kangana Ranaut has recently found how two triangles and a quadrilateral cut out from a large sheet of paper. Being a curious lady, Kangana along with his sister Rangoli began asking question all over...


Kangana Ranaut has recently found how two triangles and a quadrilateral cut out from a large sheet of<br>paper. Being a curious lady, Kangana along with his sister Rangoli began asking question all over the<br>internet. Diljit Dosanjh gave her a thrilling idea He explains if it's possible to combine these triangles by<br>moving, flipping, rotating them, and cover exactly the quadrilateral with no overlap between the two<br>triangles. Both the sisters were tankful for Diljit for explain and asked him to help them code this as they<br>do not know nothing but speaking rubbish. So, given the coordinates of the triangles and the<br>quadrilateral, your task is to answer the question: whether it's possible to combine the triangles to cover<br>exactly the given quadrilateral. Test case consists of ten lines, each containing two integers the<br>coordinates of a point. Initial three lines of the test case description contain the points forming the first<br>triangle. The next three lines describe the points forming the second triangle. The last four give the<br>points forming the quadrilateral and are given in either a cw order or ccw order.<br>Input:<br>1<br>00<br>10<br>11<br>33<br>22<br>32<br>55<br>54<br>44<br>45<br>Activate Windows<br>Output:<br>Go to Settings to activate Wir<br>Yes<br>en<br>

Extracted text: Kangana Ranaut has recently found how two triangles and a quadrilateral cut out from a large sheet of paper. Being a curious lady, Kangana along with his sister Rangoli began asking question all over the internet. Diljit Dosanjh gave her a thrilling idea He explains if it's possible to combine these triangles by moving, flipping, rotating them, and cover exactly the quadrilateral with no overlap between the two triangles. Both the sisters were tankful for Diljit for explain and asked him to help them code this as they do not know nothing but speaking rubbish. So, given the coordinates of the triangles and the quadrilateral, your task is to answer the question: whether it's possible to combine the triangles to cover exactly the given quadrilateral. Test case consists of ten lines, each containing two integers the coordinates of a point. Initial three lines of the test case description contain the points forming the first triangle. The next three lines describe the points forming the second triangle. The last four give the points forming the quadrilateral and are given in either a cw order or ccw order. Input: 1 00 10 11 33 22 32 55 54 44 45 Activate Windows Output: Go to Settings to activate Wir Yes en

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here