← All problemsSign in

Area of Polygon

A convex polygon is a simple polygon whose interior is a convex set. The following properties of a simple polygon are all equivalent to convexity: - Every internal angle is less than 180 degrees. - Every line segment between two vertices remains inside or on the boundary of the polygon. Given the vertices of a polygon( x,y) ,your job is to find the area of polygon. Input Input will begin wit

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