Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. puzzle of the day [modified]

puzzle of the day [modified]

Scheduled Pinned Locked Moved The Lounge
comhelpquestion
79 Posts 21 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Nish Nishant

    Use knife 1 and cut it horizontally, so you basically have 2 circular pieces, each with the donut hole. Do not separate the pieces just yet. Bend the cut donut to form a C-shape. Now use knife 2 to cut it across the C - so you get a smaller C and the top and bottom pieces. Since each piece is two pieces stuck together, you end up with 6 pieces. So that will meet your needs -> 5 children + you.

    Regards, Nish


    Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
    My latest book : C++/CLI in Action / Amazon.com link

    R Offline
    R Offline
    Raj Lal
    wrote on last edited by
    #7

    Nishant Sivakumar wrote:

    Now use knife 2 to cut it across the C

    you mean like C this ?

    Omit Needless Words - Strunk, William, Jr.


    Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

    N R 2 Replies Last reply
    0
    • D Douglas Troy

      well now, if you stack the donut, one on top of the other, and cut through both of them one direction (so you have two halves) then, using the other knife, cut through the other direction, you'll end up with eight pieces (quarters) which is plenty to share between 7 people (5 kids, the woman and myself). ... and her unborn child ... You should have used protection Quartz ... ;P


      :..::. Douglas H. Troy ::..
      Bad Astronomy |VCF|wxWidgets|WTL

      R Offline
      R Offline
      Raj Lal
      wrote on last edited by
      #8

      Douglas Troy wrote:

      stack the donut

      you only have one

      Omit Needless Words - Strunk, William, Jr.


      Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

      D 1 Reply Last reply
      0
      • R Raj Lal

        Nishant Sivakumar wrote:

        Now use knife 2 to cut it across the C

        you mean like C this ?

        Omit Needless Words - Strunk, William, Jr.


        Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #9

        Quartz. wrote:

        you mean like C this ?

        No. The cut is top-down.

        Regards, Nish


        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
        My latest book : C++/CLI in Action / Amazon.com link

        1 Reply Last reply
        0
        • R Raj Lal

          Nishant Sivakumar wrote:

          Now use knife 2 to cut it across the C

          you mean like C this ?

          Omit Needless Words - Strunk, William, Jr.


          Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

          R Offline
          R Offline
          Raj Lal
          wrote on last edited by
          #10

          i think this way you will end up with only 4 pieces bending the donut will not make any difference

          Omit Needless Words - Strunk, William, Jr.


          Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

          D 1 Reply Last reply
          0
          • R Raj Lal

            A women has a donut, and TWO "use and throw" knives. she want to share it with 5 children and you, only if you can help her do that? [added] the women is sharing between her children and you , she is not eating [/added] -- modified at 19:22 Thursday 25th October, 2007

            Omit Needless Words - Strunk, William, Jr.


            Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #11

            Eye the crappy knives suspiciously, then use your hands to break the donut into six pieces and hand one to each of the children (children is plural - no need for s). If any of the kids complain that the pieces are unequal, snatch their portion and eat it quickly. Then ask the child to explain this lesson to the others...

            every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

            B 1 Reply Last reply
            0
            • R Raj Lal

              Douglas Troy wrote:

              stack the donut

              you only have one

              Omit Needless Words - Strunk, William, Jr.


              Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

              D Offline
              D Offline
              Douglas Troy
              wrote on last edited by
              #12

              I'm tired, I read your "TWO" as two donuts ... ha! *sigh* What constitutes "use" of the knife? A single 'cut'? In other words, if I cut through one side of the donut, but hit the hole in the middle, do I now have to throw out that knife?


              :..::. Douglas H. Troy ::..
              Bad Astronomy |VCF|wxWidgets|WTL

              R 1 Reply Last reply
              0
              • S Shog9 0

                Eye the crappy knives suspiciously, then use your hands to break the donut into six pieces and hand one to each of the children (children is plural - no need for s). If any of the kids complain that the pieces are unequal, snatch their portion and eat it quickly. Then ask the child to explain this lesson to the others...

                every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                B Offline
                B Offline
                Bassam Abdul Baki
                wrote on last edited by
                #13

                Stab two children, bang two others' heads together, and share a donut with your favorite one.


                "He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him, the spinal cord would fully suffice. This disgrace to civilization should be done away with at once. Heroism at command, senseless brutality, deplorable love-of-country stance, how violently I hate all this, how despicable an ignoble war is; I would rather be torn to shreds than be a part of so base an action! It is my conviction that killing under the cloak of war is nothing but an act of murder." - Albert Einstein Web - Blog - RSS - Math - LinkedIn - BM

                R L 2 Replies Last reply
                0
                • R Raj Lal

                  A women has a donut, and TWO "use and throw" knives. she want to share it with 5 children and you, only if you can help her do that? [added] the women is sharing between her children and you , she is not eating [/added] -- modified at 19:22 Thursday 25th October, 2007

                  Omit Needless Words - Strunk, William, Jr.


                  Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                  M Offline
                  M Offline
                  martin_hughes
                  wrote on last edited by
                  #14

                  Are these proper jam donuts, or rubbishy American ones that taste like pap and have a hole in the middle?

                  Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                  R S 2 Replies Last reply
                  0
                  • M martin_hughes

                    Are these proper jam donuts, or rubbishy American ones that taste like pap and have a hole in the middle?

                    Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                    R Offline
                    R Offline
                    Raj Lal
                    wrote on last edited by
                    #15

                    hole one

                    Omit Needless Words - Strunk, William, Jr.


                    Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                    1 Reply Last reply
                    0
                    • B Bassam Abdul Baki

                      Stab two children, bang two others' heads together, and share a donut with your favorite one.


                      "He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him, the spinal cord would fully suffice. This disgrace to civilization should be done away with at once. Heroism at command, senseless brutality, deplorable love-of-country stance, how violently I hate all this, how despicable an ignoble war is; I would rather be torn to shreds than be a part of so base an action! It is my conviction that killing under the cloak of war is nothing but an act of murder." - Albert Einstein Web - Blog - RSS - Math - LinkedIn - BM

                      R Offline
                      R Offline
                      Raj Lal
                      wrote on last edited by
                      #16

                      evil shog :)

                      Omit Needless Words - Strunk, William, Jr.


                      Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                      S 1 Reply Last reply
                      0
                      • D Douglas Troy

                        I'm tired, I read your "TWO" as two donuts ... ha! *sigh* What constitutes "use" of the knife? A single 'cut'? In other words, if I cut through one side of the donut, but hit the hole in the middle, do I now have to throw out that knife?


                        :..::. Douglas H. Troy ::..
                        Bad Astronomy |VCF|wxWidgets|WTL

                        R Offline
                        R Offline
                        Raj Lal
                        wrote on last edited by
                        #17

                        Douglas Troy wrote:

                        if I cut through one side of the donut, but hit the hole in the middle, do I now have to throw out that knife

                        No, one cut is once you are done

                        Omit Needless Words - Strunk, William, Jr.


                        Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                        D 1 Reply Last reply
                        0
                        • R Raj Lal

                          evil shog :)

                          Omit Needless Words - Strunk, William, Jr.


                          Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                          S Offline
                          S Offline
                          Shog9 0
                          wrote on last edited by
                          #18

                          Hey, i taught a valuable life lesson. Bassam's the violent one here... ;)

                          every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                          B 1 Reply Last reply
                          0
                          • M martin_hughes

                            Are these proper jam donuts, or rubbishy American ones that taste like pap and have a hole in the middle?

                            Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                            S Offline
                            S Offline
                            Shog9 0
                            wrote on last edited by
                            #19

                            You make donuts out of jam? :~

                            every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                            M C 2 Replies Last reply
                            0
                            • R Raj Lal

                              A women has a donut, and TWO "use and throw" knives. she want to share it with 5 children and you, only if you can help her do that? [added] the women is sharing between her children and you , she is not eating [/added] -- modified at 19:22 Thursday 25th October, 2007

                              Omit Needless Words - Strunk, William, Jr.


                              Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                              M Offline
                              M Offline
                              Mircea Grelus
                              wrote on last edited by
                              #20

                              Cut the donut in half. You get 2 C shaped pieces. Place them on top of each other and make another cut top-down on the C shape to divide each shape into 3. There you go. 6 pieces

                              Cheers, Mircea "Pay people peanuts and you get monkeys" - David Ogilvy

                              M L R 3 Replies Last reply
                              0
                              • S Shog9 0

                                You make donuts out of jam? :~

                                every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                                M Offline
                                M Offline
                                martin_hughes
                                wrote on last edited by
                                #21

                                Now don't be silly :)

                                Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                                1 Reply Last reply
                                0
                                • M Mircea Grelus

                                  Cut the donut in half. You get 2 C shaped pieces. Place them on top of each other and make another cut top-down on the C shape to divide each shape into 3. There you go. 6 pieces

                                  Cheers, Mircea "Pay people peanuts and you get monkeys" - David Ogilvy

                                  M Offline
                                  M Offline
                                  martin_hughes
                                  wrote on last edited by
                                  #22

                                  That's great! Except you need 7.

                                  Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                                  M 1 Reply Last reply
                                  0
                                  • M martin_hughes

                                    That's great! Except you need 7.

                                    Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

                                    M Offline
                                    M Offline
                                    Mircea Grelus
                                    wrote on last edited by
                                    #23

                                    :doh: ... but I'm not hungry.

                                    Cheers, Mircea "Pay people peanuts and you get monkeys" - David Ogilvy

                                    1 Reply Last reply
                                    0
                                    • S Shog9 0

                                      You make donuts out of jam? :~

                                      every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

                                      C Offline
                                      C Offline
                                      Chris Meech
                                      wrote on last edited by
                                      #24

                                      It actually depends upon the amount of sun that the donut tree receives while the donut is blooming. BTW have you ever been to a donut harvest festival? ;)

                                      Chris Meech I am Canadian. [heard in a local bar] Donate to help Conquer Cancer[^]

                                      B 1 Reply Last reply
                                      0
                                      • R Raj Lal

                                        A women has a donut, and TWO "use and throw" knives. she want to share it with 5 children and you, only if you can help her do that? [added] the women is sharing between her children and you , she is not eating [/added] -- modified at 19:22 Thursday 25th October, 2007

                                        Omit Needless Words - Strunk, William, Jr.


                                        Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                                        E Offline
                                        E Offline
                                        El Corazon
                                        wrote on last edited by
                                        #25

                                        Quartz. wrote:

                                        she want to share it with 5 childrens and you, only if you can help her do that?

                                        eat the donut and divide the donut hole equally to all the children. Donut holes can be divided infinitely while maintaining identical volume, therefore all children will have identical donut holes. prove it to them with math. I wonder if this is why all my step-children hated math.... hmmmm....

                                        _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                        1 Reply Last reply
                                        0
                                        • M Mircea Grelus

                                          Cut the donut in half. You get 2 C shaped pieces. Place them on top of each other and make another cut top-down on the C shape to divide each shape into 3. There you go. 6 pieces

                                          Cheers, Mircea "Pay people peanuts and you get monkeys" - David Ogilvy

                                          L Offline
                                          L Offline
                                          leppie
                                          wrote on last edited by
                                          #26

                                          Mircea Grelus wrote:

                                          Place them on top of each other and make another cut top-down on the C shape to divide each shape into 3.

                                          Dont understand! :confused: I get 4 pieces, and now I wasted a perfectly good donut! ;P

                                          xacc.ide
                                          The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."

                                          E R 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups