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

"Simple" POTD [modified]

Scheduled Pinned Locked Moved The Lounge
questioncom
49 Posts 27 Posters 2 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.
  • S Shog9 0

    Quartz... wrote:

    How will you divide 5 potatoes among 6 childrens, you cannot use fractions

    • Since we can't use fractions, we'll have to use a knife to divide up the potatoes. This is fine though; knives cut through potatoes much faster than fractions do.
    • Eat one, then give a potato to each child.
    • Sit children in a row, give each a fork, then place potatoes between them. They'll work it out...
    • Sit children in a circle, and working clockwise, hand out potatoes. When you run out of potatoes, start handing out rocks. Then run away.

    ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

    B Offline
    B Offline
    brianwelsch
    wrote on last edited by
    #29

    Shog9 wrote:

    Eat one, then give a potato to each child.

    This one concerns me a little, Shog. For the numbers to work out, you'd have to have meant to eat a child, then pass out the 5 spuds to the remaining 5 sad, fearful children. Otherwise, excellent solutions! Good "out-of-the-box" thinking!

    BW


    Quick to judge, quick to anger, slow to understand.
    Ignorance and prejudice and fear walk hand in hand.
    -- Neil Peart

    S R 2 Replies Last reply
    0
    • B brianwelsch

      Shog9 wrote:

      Eat one, then give a potato to each child.

      This one concerns me a little, Shog. For the numbers to work out, you'd have to have meant to eat a child, then pass out the 5 spuds to the remaining 5 sad, fearful children. Otherwise, excellent solutions! Good "out-of-the-box" thinking!

      BW


      Quick to judge, quick to anger, slow to understand.
      Ignorance and prejudice and fear walk hand in hand.
      -- Neil Peart

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

      brianwelsch wrote:

      For the numbers to work out, you'd have to have meant to eat a child, then pass out the 5 spuds to the remaining 5 sad, fearful children.

      Yeah, but i'll bet they'd appreciate their potatoes a bit more after that...

      ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

      1 Reply Last reply
      0
      • S Shog9 0

        Quartz... wrote:

        How will you divide 5 potatoes among 6 childrens, you cannot use fractions

        • Since we can't use fractions, we'll have to use a knife to divide up the potatoes. This is fine though; knives cut through potatoes much faster than fractions do.
        • Eat one, then give a potato to each child.
        • Sit children in a row, give each a fork, then place potatoes between them. They'll work it out...
        • Sit children in a circle, and working clockwise, hand out potatoes. When you run out of potatoes, start handing out rocks. Then run away.

        ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

        M Offline
        M Offline
        MrBic
        wrote on last edited by
        #31

        I think the first question you need to ask is: are they your children? or.... (sorry for this one) You could always have meat and potatoes.....

        1 Reply Last reply
        0
        • R Raj Lal

          What is the largest values you can write with ONLY three numbers digits, ofcourse ? For those who don't want to think in numbers How will you divide 5 potatoes among 6 childrens, you cannot use fractions -- modified at 14:28 Tuesday 6th February, 2007

          Omit Needless Words - Strunk, William, Jr.


          Dilbert ? Vista ? DailyDilbert Gadget here

          G Offline
          G Offline
          Gary Kirkham
          wrote on last edited by
          #32

          limit as x->0 11/x

          Gary Kirkham Forever Forgiven and Alive in the Spirit He is no fool who gives what he cannot keep to gain what he cannot lose. - Jim Elliot Me blog, You read

          1 Reply Last reply
          0
          • R Raj Lal

            What is the largest values you can write with ONLY three numbers digits, ofcourse ? For those who don't want to think in numbers How will you divide 5 potatoes among 6 childrens, you cannot use fractions -- modified at 14:28 Tuesday 6th February, 2007

            Omit Needless Words - Strunk, William, Jr.


            Dilbert ? Vista ? DailyDilbert Gadget here

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

            A 1: 999 As a lot of you had already figured out , the question was only three digits so cannot use factorial there. A 2: Serve mashed potatoes , a lot of you have guessed this one too

            Omit Needless Words - Strunk, William, Jr.


            Dilbert ? Vista ? DailyDilbert Gadget here

            R 1 Reply Last reply
            0
            • B brianwelsch

              Shog9 wrote:

              Eat one, then give a potato to each child.

              This one concerns me a little, Shog. For the numbers to work out, you'd have to have meant to eat a child, then pass out the 5 spuds to the remaining 5 sad, fearful children. Otherwise, excellent solutions! Good "out-of-the-box" thinking!

              BW


              Quick to judge, quick to anger, slow to understand.
              Ignorance and prejudice and fear walk hand in hand.
              -- Neil Peart

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

              brianwelsch wrote:

              5 sad, fearful children

              LMAO

              Omit Needless Words - Strunk, William, Jr.


              Dilbert ? Vista ? DailyDilbert Gadget here

              1 Reply Last reply
              0
              • R Raj Lal

                What is the largest values you can write with ONLY three numbers digits, ofcourse ? For those who don't want to think in numbers How will you divide 5 potatoes among 6 childrens, you cannot use fractions -- modified at 14:28 Tuesday 6th February, 2007

                Omit Needless Words - Strunk, William, Jr.


                Dilbert ? Vista ? DailyDilbert Gadget here

                R Offline
                R Offline
                Ravi Bhavnani
                wrote on last edited by
                #35

                My guess for the largest value would be ((9! raised to 9!) raised to 9!). /ravi

                This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                R 1 Reply Last reply
                0
                • F Fernando A Gomez F

                  peterchen wrote:

                  Or what about 99/0

                  :wtf: undefined... at least in the real field...

                  A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Personal Site

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

                  but as close as possible to "as big as it can get" :rolleyes: ok, lim (x->0) (99/x)<7code> would stretch the requirements a bit (and it's not really a number, but it might pass) * * * _Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!_ 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_ [Linkify!](http://www.codeproject.com/useritems/Linkify.asp)|[Fold With Us!](http://www.codeproject.com/script/profile/whos_who.asp?msg=919055&id=175#xx919055xx)

                  1 Reply Last reply
                  0
                  • R Ravi Bhavnani

                    My guess for the largest value would be ((9! raised to 9!) raised to 9!). /ravi

                    This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                    R Offline
                    R Offline
                    RC_Sebastien_C
                    wrote on last edited by
                    #37

                    Good, but you're loosing a bit on the coolness factor posting an hour after the solution and without using the superscript :-D

                    R 1 Reply Last reply
                    0
                    • R RC_Sebastien_C

                      Good, but you're loosing a bit on the coolness factor posting an hour after the solution and without using the superscript :-D

                      R Offline
                      R Offline
                      Ravi Bhavnani
                      wrote on last edited by
                      #38

                      HollyHooo wrote:

                      loosing a bit on the coolness factor

                      That's OK. Everyone knows:    ASSERT (me == !cool);    ASSERT ((me & cool) == NULL); :) /ravi

                      This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                      R 1 Reply Last reply
                      0
                      • R Raj Lal

                        A 1: 999 As a lot of you had already figured out , the question was only three digits so cannot use factorial there. A 2: Serve mashed potatoes , a lot of you have guessed this one too

                        Omit Needless Words - Strunk, William, Jr.


                        Dilbert ? Vista ? DailyDilbert Gadget here

                        R Offline
                        R Offline
                        RC_Sebastien_C
                        wrote on last edited by
                        #39

                        A 1: Question was only three digits, but question should have been only three digits and digts only. A 2: I prefer Shog's answer

                        R 1 Reply Last reply
                        0
                        • R RC_Sebastien_C

                          A 1: Question was only three digits, but question should have been only three digits and digts only. A 2: I prefer Shog's answer

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

                          HollyHooo wrote:

                          only three digits and digts only.

                          oh ! that IFF factor :-> missed it

                          HollyHooo wrote:

                          I prefer Shog's answer

                          me too :-D

                          Omit Needless Words - Strunk, William, Jr.


                          Dilbert ? Vista ? DailyDilbert Gadget here

                          R 1 Reply Last reply
                          0
                          • R Ravi Bhavnani

                            HollyHooo wrote:

                            loosing a bit on the coolness factor

                            That's OK. Everyone knows:    ASSERT (me == !cool);    ASSERT ((me & cool) == NULL); :) /ravi

                            This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                            R Offline
                            R Offline
                            RC_Sebastien_C
                            wrote on last edited by
                            #41

                            You gained it all back :) thanks for taking it for what it was, as a joke

                            1 Reply Last reply
                            0
                            • R Raj Lal

                              HollyHooo wrote:

                              only three digits and digts only.

                              oh ! that IFF factor :-> missed it

                              HollyHooo wrote:

                              I prefer Shog's answer

                              me too :-D

                              Omit Needless Words - Strunk, William, Jr.


                              Dilbert ? Vista ? DailyDilbert Gadget here

                              R Offline
                              R Offline
                              RC_Sebastien_C
                              wrote on last edited by
                              #42

                              Quartz... wrote:

                              HollyHooo wrote: I prefer Shog's answer me too

                              LOL

                              1 Reply Last reply
                              0
                              • G Gary Wheeler

                                9!9!9! == a big freakin' number.


                                Software Zen: delete this;

                                F Offline
                                F Offline
                                Fernando A Gomez F
                                wrote on last edited by
                                #43

                                9!9!9!! is bigger :-D

                                A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Personal Site

                                1 Reply Last reply
                                0
                                • R Raj Lal

                                  What is the largest values you can write with ONLY three numbers digits, ofcourse ? For those who don't want to think in numbers How will you divide 5 potatoes among 6 childrens, you cannot use fractions -- modified at 14:28 Tuesday 6th February, 2007

                                  Omit Needless Words - Strunk, William, Jr.


                                  Dilbert ? Vista ? DailyDilbert Gadget here

                                  S Offline
                                  S Offline
                                  stano
                                  wrote on last edited by
                                  #44

                                  As long as you're not restricted to Base 10, in Base Infinity the answer is infinity. :)

                                  P 1 Reply Last reply
                                  0
                                  • D Dan Neely

                                    9^(9^9) = 9^81 ~= 2 * 10&77

                                    -- Rules of thumb should not be taken for the whole hand.

                                    A Offline
                                    A Offline
                                    Aryo Handono
                                    wrote on last edited by
                                    #45

                                    dan neely wrote:

                                    9^(9^9) = 9^81

                                    So... 9^9 = 81 eh ? :-D

                                    "Courage choose who will follow, Fate choose who will lead" - Lord Gunner, Septerra Core "Press any key to continue, where's the ANY key ?" - Homer Simpsons Drinking gives me amazing powers of insight. I can solve all the worlds problems when drunk, but can never remember the solutions in the morning. - Michael P Butler to Paul Watson on 12/08/03

                                    D 1 Reply Last reply
                                    0
                                    • A Aryo Handono

                                      dan neely wrote:

                                      9^(9^9) = 9^81

                                      So... 9^9 = 81 eh ? :-D

                                      "Courage choose who will follow, Fate choose who will lead" - Lord Gunner, Septerra Core "Press any key to continue, where's the ANY key ?" - Homer Simpsons Drinking gives me amazing powers of insight. I can solve all the worlds problems when drunk, but can never remember the solutions in the morning. - Michael P Butler to Paul Watson on 12/08/03

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

                                      :doh:

                                      -- Rules of thumb should not be taken for the whole hand.

                                      1 Reply Last reply
                                      0
                                      • R Raj Lal

                                        What is the largest values you can write with ONLY three numbers digits, ofcourse ? For those who don't want to think in numbers How will you divide 5 potatoes among 6 childrens, you cannot use fractions -- modified at 14:28 Tuesday 6th February, 2007

                                        Omit Needless Words - Strunk, William, Jr.


                                        Dilbert ? Vista ? DailyDilbert Gadget here

                                        P Offline
                                        P Offline
                                        PIEBALDconsult
                                        wrote on last edited by
                                        #47

                                        I generally write all values and code with only the five digits on my right hand; using only three won't alter that very much. In fact I could just use one digit to hold down the 9 key for a while... 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 Ok, now that digit is tired. And I need to pick up my coffee mug.

                                        1 Reply Last reply
                                        0
                                        • S stano

                                          As long as you're not restricted to Base 10, in Base Infinity the answer is infinity. :)

                                          P Offline
                                          P Offline
                                          PIEBALDconsult
                                          wrote on last edited by
                                          #48

                                          Is infinity a value?

                                          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