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
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...
Least common multiple of many numbers
189 Solvers
Project Euler: Problem 3, Largest prime factor
400 Solvers
Find the largest value in the 3D matrix
1067 Solvers
Are all the three given point in the same line?
274 Solvers
49 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!