Problem 42460. The cake is a lie...
40.51% Correct | 59.49% Incorrect
Last Solution submitted on Mar 24, 2023
Show 1 older comment
Alfonso Nieto-Castanon on 25 Jul 2015
for those detail-oriented (i.e. picky) I imagine cuts need to be straight lines, and the cake is two-dimensional?
James on 28 Jul 2015
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.
Alfonso Nieto-Castanon on 28 Jul 2015
thanks for the clarification!
Carl Witthoft on 25 Nov 2015
death^H^H^H^Hservings by a thousand cuts
James on 26 Feb 2018
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 Solvers21
Approximation of Pi (vector inputs)
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!