The correct answer is not really defined for x = 1, that is a one-sided polygon.
The test cases are insufficient.
3927 Solvers
Find the sum of the elements in the "second" diagonal
999 Solvers
Arrange vector in ascending order
627 Solvers
672 Solvers
353 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!