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.
  • 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

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

    Nishant Sivakumar wrote:

    6 cigars.

    You know now it's wrong.:)

    Nishant Sivakumar wrote:

    Assuming it's "right", then 5.

    Wrong

    Nishant Sivakumar wrote:

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

    side-wise ?? how, explain please.


    About : Islam
    About : Me

    N 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

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #6

      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[^]

      N K 2 Replies Last reply
      0
      • R Rage

        1 - about seven, each first six leaving stumps 2 - This is no English to me. 3 - one. 4 - :) lol ... unless the stone comes from space, earth's mass should not vary.

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

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

        1 and 4 are right, the other wrong.


        About : Islam
        About : Me

        C 1 Reply Last reply
        0
        • M MoustafaS

          Nishant Sivakumar wrote:

          6 cigars.

          You know now it's wrong.:)

          Nishant Sivakumar wrote:

          Assuming it's "right", then 5.

          Wrong

          Nishant Sivakumar wrote:

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

          side-wise ?? how, explain please.


          About : Islam
          About : Me

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

          LongHC wrote:

          side-wise ?? how, explain please.

          Cut through the middle of the cake I mean. A lateral slice.

          Regards, Nish


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

          M D 2 Replies Last reply
          0
          • N Nish Nishant

            LongHC wrote:

            side-wise ?? how, explain please.

            Cut through the middle of the cake I mean. A lateral slice.

            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
            #9

            Right


            About : Islam
            About : Me

            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[^]

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

              Rage wrote:

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

              No, it's just one move. You cut laterally through the 4 quarters - to get 8 pieces.

              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
              • M MoustafaS

                1 and 4 are right, the other wrong.


                About : Islam
                About : Me

                C Offline
                C Offline
                Colin Angus Mackay
                wrote on last edited by
                #11

                Perhaps you might like to change #2 in to English so we can understand it.


                Upcoming events: * Glasgow: SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services... Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton My website

                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

                  S Offline
                  S Offline
                  szukuro
                  wrote on last edited by
                  #12

                  LongHC wrote:

                  2- What the number of characters the right answer of this question have [in English] ?

                  Four.

                  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

                    L Offline
                    L Offline
                    lost in transition
                    wrote on last edited by
                    #13

                    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 1 Reply Last reply
                    0
                    • S szukuro

                      LongHC wrote:

                      2- What the number of characters the right answer of this question have [in English] ?

                      Four.

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

                      Nice.


                      About : Islam
                      About : Me

                      1 Reply Last reply
                      0
                      • N Nish Nishant

                        LongHC wrote:

                        side-wise ?? how, explain please.

                        Cut through the middle of the cake I mean. A lateral slice.

                        Regards, Nish


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

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

                        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 1 Reply Last reply
                        0
                        • 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
                                          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