Beautiful Gift
CodeChefOpen on judge ↗
Finally, Amul found her house. Now he wants to meet Shikha ,he thought he should take a gift with him. So he went to a gift shop and bought a rectangular card for her. To make the card more attractive , he thought he should draw all possible isosceles triangles and equilateral triangles with integer coordinates of vertices which are completely inside or on the rectangle. Assuming the card as 2-D p
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.
Sign in to chat with the tutor and save your progress.
Sign in to start