Area of a Polygon (Shoelace)
Medium
Geometry & Coordinates
Given the vertices of a simple polygon in order, print its area with one decimal place.
Constraints
3 <= n <= 10^4 -10^4 <= x, y <= 10^4
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.