← All problemsSign in

Distances in an Irregular Polygon Town

Akash has set up a food truck chain named Wowful Lickery. He has planned to organize food stalls in $6$ $areas$ of the town. The point where he has planned to set up stalls are mutually forming an irregular polygon if we connect them in an outer fashion.The areas are $A,B,C,D,E,F$ and all these act as points (vertices) where he set up the food trucks. Except $F$ all the other points are represente

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