Return Styles: Pseud0ch, Terminal, Valhalla, Blue Moon.

Pages: 1-

prog challenge cake

Name: Anonymous 2017-11-15 1:44

make program to have cake and eat it too

Name: Anonymous 2017-11-15 7:45

so reinvent sepples?

Name: Anonymous 2017-11-15 9:14

>>2
I think he meant "write a program that allows you to have your cake and eat it too".

You can solve this by baking two cakes.
So given a recipe, a single oven, a certain multiset of kitchen utensils and containers and a set of cross contamination requirements, minimize the amount of work baking two cakes...

Name: Anonymous 2017-11-15 9:20

pass by value and/or immutability can solve that: eating function takes cake and outputs no cake but the original cake data structure is never modified

Name: Anonymous 2017-11-15 11:43

>>4
eating function should output shit

Name: Anonymous 2017-11-15 11:52

>>5
it depends on who the caller is, because girls don't poop!

Name: Anonymous 2017-11-15 13:58

What's the point of having a cake anyway?

Name: Anonymous 2017-11-15 14:53

>>7
Why wouldn't you want to have a cake?

Name: Anonymous 2017-11-15 14:54

where's the cake eggman?

Name: Anonymous 2017-11-15 15:04

>>1
My programs are on dietLibC and can't have cake.

Name: Anonymous 2017-11-15 18:17

>>8
Because it just takes up space and then gets moldy and stinky.

Name: Anonymous 2017-11-15 18:26

>>10
Fefe needs to eat as well.

Name: Anonymous 2017-11-16 7:41

>>9
JUST TAKE A SLICE

Don't change these.
Name: Email:
Entire Thread Thread List