Problem 2902. What's for Lunch?
Solution Stats
Problem Comments
-
4 Comments
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
Problem Recent Solvers51
Suggested Problems
-
Solve the set of simultaneous linear equations
330 Solvers
-
Make a random, non-repeating vector.
5379 Solvers
-
Set the array elements whose value is 13 to 0
1170 Solvers
-
295 Solvers
-
861 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!