The correct answer is not really defined for x = 1, that is a one-sided polygon.
The test cases are insufficient.
2198 Solvers
228 Solvers
338 Solvers
292 Solvers
177 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!