The solutions to the test suite assume that the number of sides choices is s*(s-1). In my opinion that's wrong, it should be nchoosek(s, 2). That is the order of the sides do not matter. sides [x y] is the same as sides [y x].
Agree with Guillaume
Do you have anything that's gluten free? :-)
I agree with Guillaume
Determine whether a vector is monotonically increasing
12558 Solvers
Project Euler: Problem 7, Nth prime
548 Solvers
Generate a random matrix A of (1,-1)
217 Solvers
Matlab Basics - Assigning Variables
149 Solvers
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!