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. POTD [modified]

POTD [modified]

Scheduled Pinned Locked Moved The Lounge
questioncomtools
28 Posts 13 Posters 0 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.
  • L lost in transition

    LongHC wrote:

    3- How is the minimum cuts with a knife a particular circular cake can be cut with into eight equal pieces ?

    The minimum cuts with a knife to put a circular cake in eight(8) equal pieces is: three (3).


    God Bless, Jason

    DavidCrow wrote:

    It would not affect me or my family one iota. My wife and I are in charge of when the tv is on, and what it displays. I do not need any external input for that.

    M Offline
    M Offline
    MoustafaS
    wrote on last edited by
    #16

    Right one.


    About : Islam
    About : Me

    1 Reply Last reply
    0
    • D Dan Neely

      The pieces won't be equal though. The bottom of a cake is flat, the top bulges in the center (unless it falls but in that case it's ruined). The 4 pieces from the top will have the bulge the 4 from the bottom will be flat on both sides.

      -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

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

      dan neely wrote:

      The bottom of a cake is flat, the top bulges in the center (unless it falls but in that case it's ruined).

      I don't think he's specified that. I am assuming it's a flat surfaced cake.

      Regards, Nish


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

      M 1 Reply Last reply
      0
      • M MoustafaS

        1- A hobo who does like to smoke cigars but does not have any money, collects cigars stumps. From every six stumps he finds he can make a new cigar. One a particular day he finds 36 stumps. How many cigars can he smoke on that day? ---------- 2- What the number of characters the right answer of this question have [in English] ? ---------- 3- How is the minimum cuts with a knife a particular circular cake can be cut with into eight equal pieces ? ---------- 4- To protect his country a king decided to build a wall made out of stone along the border. The wall had to be 3 meters thick and 5 meters high. The border of the country has a length of 500 kilometers. Assuming that one cubic meter of stone weights about 3000 kg, how much heavier becomes the earth by building this wall? Very easy, I know :-D have fun. -- modified at 10:47 Thursday 10th May, 2007 -- modified at 10:52 Thursday 10th May, 2007


        About : Islam
        About : Me

        M Offline
        M Offline
        MoustafaS
        wrote on last edited by
        #18

        1- 7, as the first cigs will make another 6 stumps to make another. 2- Four, is the only number that it's characters equals it's value. 3- 3 ,as Nish first got it. 4- As the rocks will surly come from earth, nothing will change.


        About : Islam
        About : Me

        D B 2 Replies Last reply
        0
        • N Nish Nishant

          dan neely wrote:

          The bottom of a cake is flat, the top bulges in the center (unless it falls but in that case it's ruined).

          I don't think he's specified that. I am assuming it's a flat surfaced cake.

          Regards, Nish


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

          M Offline
          M Offline
          MoustafaS
          wrote on last edited by
          #19

          Nishant Sivakumar wrote:

          I am assuming it's a flat surfaced cake.

          It's.


          About : Islam
          About : Me

          P 1 Reply Last reply
          0
          • N Nish Nishant

            LongHC wrote:

            1- A hobo who does like to smoke cigars but does not have any money, collects cigars stumps. From every six stumps he finds he can make a new cigar. One a particular day he finds 36 stumps. How many cigars can he smoke on that day?

            6 cigars. 0 - if you missed a "not" as in "who does not like to smoke"

            LongHC wrote:

            2- What the number of characters the right answer of this question have ?

            Assuming it's "right", then 5.

            LongHC wrote:

            3- How is the minimum cuts with a knife a particular circular cake can be cut with into eight equal pieces ?

            3. First cut into two halves, then cut into 4 quarters, then cut side-wise into 8 pieces.

            LongHC wrote:

            4- To protect his country a king decided to build a wall made out of stone along the border. The wall had to be 3 meters thick and 5 meters high. The border of the country has a length of 500 kilometers. Assuming that one cubic meter of stone weights about 3000 kg, how much heavier becomes the earth by building this wall?

            Will do this later if no one else has yet :-)

            Regards, Nish


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

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

            Nishant Sivakumar wrote:

            3. First cut into two halves, then cut into 4 quarters, then cut side-wise into 8 pieces.

            Huh, and then the first four people get most of the icing. :suss: ;P

            ----

            i hope you are feeling sleepy for people not calling you by the same.

            --BarnaKol on abusive words

            1 Reply Last reply
            0
            • M MoustafaS

              Nishant Sivakumar wrote:

              I am assuming it's a flat surfaced cake.

              It's.


              About : Islam
              About : Me

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #21

              If not, you could always line them up after the second cut: ---- <}<}<}<} --- cut along this line


              We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
              My first real C# project | Linkify!|FoldWithUs! | sighist

              M 1 Reply Last reply
              0
              • P peterchen

                If not, you could always line them up after the second cut: ---- <}<}<}<} --- cut along this line


                We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                My first real C# project | Linkify!|FoldWithUs! | sighist

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

                OK, that right, there are exactly 3 solutions to this, I said the minimum, and the minimum is three.:)


                About : Islam
                About : Me

                1 Reply Last reply
                0
                • M MoustafaS

                  1- 7, as the first cigs will make another 6 stumps to make another. 2- Four, is the only number that it's characters equals it's value. 3- 3 ,as Nish first got it. 4- As the rocks will surly come from earth, nothing will change.


                  About : Islam
                  About : Me

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #23

                  LongHC wrote:

                  2- Four, is the only number that it's characters equals it's value.

                  How in the world did you get that from: 2- What the number of characters the right answer of this question have [in English] ?


                  "A good athlete is the result of a good and worthy opponent." - David Crow

                  "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                  D 1 Reply Last reply
                  0
                  • D David Crow

                    LongHC wrote:

                    2- Four, is the only number that it's characters equals it's value.

                    How in the world did you get that from: 2- What the number of characters the right answer of this question have [in English] ?


                    "A good athlete is the result of a good and worthy opponent." - David Crow

                    "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                    D Offline
                    D Offline
                    Dan Neely
                    wrote on last edited by
                    #24

                    With the answer I can translate the question into normal english. "How many characters does the answer of this question have?". The original appears to be the victim of poor translation by a nonnative speaker.

                    -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

                    1 Reply Last reply
                    0
                    • M MoustafaS

                      1- 7, as the first cigs will make another 6 stumps to make another. 2- Four, is the only number that it's characters equals it's value. 3- 3 ,as Nish first got it. 4- As the rocks will surly come from earth, nothing will change.


                      About : Islam
                      About : Me

                      B Offline
                      B Offline
                      Bob X
                      wrote on last edited by
                      #25

                      LongHC wrote:

                      1- 7, as the first cigs will make another 6 stumps to make another.

                      Wouldn't this be 6 because he doesn't smoke and therefore doesn't have the stumps from the first six.

                      D 1 Reply Last reply
                      0
                      • B Bob X

                        LongHC wrote:

                        1- 7, as the first cigs will make another 6 stumps to make another.

                        Wouldn't this be 6 because he doesn't smoke and therefore doesn't have the stumps from the first six.

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #26

                        reread the question. He likes to smoke cigars, what he doesn't have is money to buy them.

                        -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

                        1 Reply Last reply
                        0
                        • N Nish Nishant

                          Rage wrote:

                          1 - about seven, each first six leaving stumps

                          Damn! I missed that one.

                          Regards, Nish


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

                          C Offline
                          C Offline
                          Christian Graus
                          wrote on last edited by
                          #27

                          LOL - had you not heard that before ?

                          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

                          1 Reply Last reply
                          0
                          • R Rage

                            Nishant Sivakumar wrote:

                            First cut into two halves, then cut into 4 quarters, then cut side-wise into 8 pieces

                            Your last move leaves me perplex... or are they two moves ?

                            Constantly "Saving the day" should be taken as a sign of organizational dysfunction rather than individual skill - Ryan Roberts[^]

                            K Offline
                            K Offline
                            Kastellanos Nikos
                            wrote on last edited by
                            #28

                            Think the cake in 3D where you cut through the X,Y and Z planes. 4 people get the bottom pieces with no sugar/chocolate cover.

                            1 Reply 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