You should carefully cut a cake
img
  • 1 points AutoModerator

    Hey there u/sasoqik, thanks for posting to r/technicallythetruth!

    Please recheck if your post breaks any rules. If it does, please delete this post.

    Also, reposting and posting obvious non-TTT posts can lead to a ban.

    Send us a Modmail or Report this post if you have a problem with this post.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    parent
  • 49 points SomePeopleCallMeJJ
    • Cut into 16ths, which is easy to do by repeated halving.
    • Cut one of the resulting slices into 16ths.
    • Cut one of those resulting slices into 16ths, and so on, infinitely.
    • Serve 15 people one of each size of slice.
    parent
    15 points suskio4

    Nah man the last line of your code is unreachable and will get optimized out. You should - while true { - cut pie into 16ths - give out 15 of them - your new pie is the 16th slice - }

    parent root
    5 points sasoqik

    what programming language is this

    parent root
    9 points suskio4

    It's just pseudo code

    parent root
    4 points OCYRThisMeansWar

    Yeah?

    Well, Sudo stop that.

    parent root
    3 points suskio4

    OCYRThisMeansWar is not in the sudoers file. This incident will be reported.

    Santa knows so no presents for you this year. Good one tho

    parent root
    2 points OCYRThisMeansWar

    😜

    parent root
    2 points MrFantasma60

    Piethon.

    parent root
    1 points sasoqik

    i see what ya did there

    parent root
    1 points mrbofus

    But what if you’re cutting cake?

    parent root
    1 points Good-Note-4042

    Or cut into 15 and give yourself the bigger slice

    parent root
  • 28 points Bastdkat

    360 divided by 15 is 24, therefore each slice is 24degress of the circumference of the cake.

    parent
    6 points TallDetail4711

    Or 2pi radians, therefore 2pi/15.

    parent root
  • 11 points ElongThrust0

    Cut into 1/3’s , then five slices in each third

    Cut into 1/5’s, then 3 slices in each fifth

    parent
  • 7 points Dangerous_Fix_9186

    By cutting the cake.

    parent
    1 points sasoqik

    r/technicallythetruth

    parent root
    2 points Beez-Knee

    r/alreadyhere

    parent root
  • 6 points ZonTeeN

    Just cut it 14 times parallel. Didn't say it has to be equal

    parent
    2 points linux1970

    It says 81g per slice.

    parent root
  • 3 points sasoqik

    the comments are turning into math, math of all the subjects, MATH

    parent
  • 2 points Viridionplague

    With 14 cuts.

    parent
  • 1 points NoireLust

    Like ham slices isn't it obvious lol ; D

    parent
  • 0 points OCYRThisMeansWar

    All of you are overthinking.

    Cut into eighths.

    Cut 7 of those in half.

    parent
    2 points Beez-Knee

    Now you've got one double slice and the other pieces are smaller than a serving size. You're under thinking this pretty hard.

    parent root
    3 points OCYRThisMeansWar

    Ok. Have it your way.

    Cut into 16 pieces. Eat one of them.

    Put the cake back on the shelf in the store.

    parent root
    1 points sasoqik

    arent the employees supposed to do this, and if they do, isnt an entire shelf full of cake unhealthy

    parent root
    1 points OCYRThisMeansWar

    It could be. But this was a math question, not a health question.

    Also, my other answer would have been ‘carefully measure out 81g of cake, wad it up into a ball. Repeat 14 more times.’ That prob woulda been worse.

    parent root
  • Hacker News
    • Top
    • Best
    • New
    • Ask
    • Show
    • Jobs
  • beta Hugging Face
    • Posts
  • Reddit
    • r/programming
    • r/technology
    • r/science
    • r/news
    • r/gaming