Problem 42460. The cake is a lie...
Solution Stats
Problem Comments
-
4 Comments
for those detail-oriented (i.e. picky) I imagine cuts need to be straight lines, and the cake is two-dimensional?
You're half right: the cuts have to be straight. The cake is 3-D, though. Assume the cake is a rectangular solid, and all cuts are planar.
thanks for the clarification!
death^H^H^H^Hservings by a thousand cuts
Solution Comments
-
1 Comment
It's about time you learned how to cheat properly, Corneli. I was wondering how many more switch/case and if/then solutions you were going to submit...
Problem Recent Solvers20
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
4985 Solvers
-
Sum of diagonal of a square matrix
1480 Solvers
-
1486 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
176 Solvers
-
589 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!