← All problemsSign in

HAPPY NEW YEAR

As the new year is arriving your friend has decided to paste $2$ banners on the society wall. You have to help him. You are given $two$ different banners. Given the length and breadth of both banners. You have to paste these banners to the wall in such a way that: The $longest$ side of both banners is parallel to the $Y axis$. Coordinates of one of the four corners of the first banner are $x1,y

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start