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. TWCP OTD (The Who Cares Puzzle Of The Day) - 7th of February, 2017

TWCP OTD (The Who Cares Puzzle Of The Day) - 7th of February, 2017

Scheduled Pinned Locked Moved The Lounge
helpquestionlearning
35 Posts 12 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.
  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

    BOOK WORM On the shelf there is a book of two parts. The first part has 972 pages (not including cover, but anything else), the second has 864 (same)... A curious worm ate itself thru the book starting with the front cover of the first part and until the very end of the back cover of the last part... How many pages it perforated on the way?

    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

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

    Was it an African worm or a European one?

    I wanna be a eunuchs developer! Pass me a bread knife!

    A 1 Reply Last reply
    0
    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

      BOOK WORM On the shelf there is a book of two parts. The first part has 972 pages (not including cover, but anything else), the second has 864 (same)... A curious worm ate itself thru the book starting with the front cover of the first part and until the very end of the back cover of the last part... How many pages it perforated on the way?

      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #20

      Wot if they're on a kindle? (Still fits, 2 books in the kindle on the shelf).

      Sin tack ear lol Pressing the any key may be continuate

      1 Reply Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        BOOK WORM On the shelf there is a book of two parts. The first part has 972 pages (not including cover, but anything else), the second has 864 (same)... A curious worm ate itself thru the book starting with the front cover of the first part and until the very end of the back cover of the last part... How many pages it perforated on the way?

        Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #21

        It is quite reasonable to not count book covers as pages, although they may be leaves of paper. The first part has 972 pages, making 486 physical leaves of paper that are pages. The second part has 864 pages, or 432 leaves of paper that are pages. If we don't assume, as it is not stated in the puzzle, that the worm burrowed in straight line through both parts, it perforated 1836 numbered pages, or 918 leaves of paper.

        Follow my adventures with .NET Core at my new blog, Erisia Information Services.

        Kornfeld Eliyahu PeterK 1 Reply Last reply
        0
        • J Jochen Arndt

          Kornfeld Eliyahu Peter wrote:

          but I do not think your answer is correct...

          ... because he forgot to count the covers.

          B Offline
          B Offline
          Brady Kelly
          wrote on last edited by
          #22

          Book covers are not book pages.

          Follow my adventures with .NET Core at my new blog, Erisia Information Services.

          1 Reply Last reply
          0
          • B Bassam Abdul Baki

            It said ignore the covers.

            Web - BM - RSS - Math - LinkedIn

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #23

            It did not, it just said a book has n pages, not counting the cover. If you mistakenly consider a cover to a page of a book, then the puzzle implies you should include covers.

            Follow my adventures with .NET Core at my new blog, Erisia Information Services.

            B 1 Reply Last reply
            0
            • W W Balboos GHB

              A real oldie - the two book parts you noted are adjacent to one another on books "properly" shelved. If you don't count the covers as pages, the answer is "none".

              Ravings en masse^

              "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

              "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

              B Offline
              B Offline
              Brady Kelly
              wrote on last edited by
              #24

              Please justify this answer. What difference does it make that the books are adjacent to each other, if the worm still burrowed through all of both parts, except maybe the back cover of the last?

              Follow my adventures with .NET Core at my new blog, Erisia Information Services.

              1 Reply Last reply
              0
              • W W Balboos GHB

                OK: Drawing in your mind's eye (illustration on bottom): Consider how a set of books is put on the shelf. Lowest volume number to the right and in sequential order. Next imagine your in the process of taking the first volume off the shelf. It's in your hand and the front cover is to your right. So it's not on the outside edge of the volume set. The back cover of book '1' the outside cover. In fact, for all books (not written in Hebrew or Arabic), when shelved, the left side is the back of the book and the right side is the front. Now - for the two volume set in the problem, the back of the second book, being on the left, is now touching the front of the first book.

                | | | |
                | Vol 1 | | Vol 2 |
                | | | |
                | | | |
                | | | |
                | | | |
                | | | |
                B F B F
                a r a r
                c o c o
                k n k n
                t t

                This would still be true, by the way, for books written right-to-left as their order on the shelf would be reversed, too.

                Ravings en masse^

                "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                B Offline
                B Offline
                Brady Kelly
                wrote on last edited by
                #25

                Very good, if the puzzle stipulated that the worm burrowed through both volumes in one straight line. In your drawing, the worm could very well have started between the two volumes, and burrowed to the left through the first one, then circled back to the right of the second one and burrowed left until the back cover of that one.

                Follow my adventures with .NET Core at my new blog, Erisia Information Services.

                W 1 Reply Last reply
                0
                • B Brady Kelly

                  It is quite reasonable to not count book covers as pages, although they may be leaves of paper. The first part has 972 pages, making 486 physical leaves of paper that are pages. The second part has 864 pages, or 432 leaves of paper that are pages. If we don't assume, as it is not stated in the puzzle, that the worm burrowed in straight line through both parts, it perforated 1836 numbered pages, or 918 leaves of paper.

                  Follow my adventures with .NET Core at my new blog, Erisia Information Services.

                  Kornfeld Eliyahu PeterK Offline
                  Kornfeld Eliyahu PeterK Offline
                  Kornfeld Eliyahu Peter
                  wrote on last edited by
                  #26

                  Even you are right about the confusion between pages and sheets, but that's intentional... And in your case it led you to the wrong answer... ;)

                  Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                  "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                  B 1 Reply Last reply
                  0
                  • B Brady Kelly

                    It did not, it just said a book has n pages, not counting the cover. If you mistakenly consider a cover to a page of a book, then the puzzle implies you should include covers.

                    Follow my adventures with .NET Core at my new blog, Erisia Information Services.

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

                    I didn't. It said # of pages not including the covers. I said it's the total # of pages. I didn't actually give a number. So if he wanted to include the covers, he can. But in the end, his answer was zero, so the covers where not included as I surmised.

                    Web - BM - RSS - Math - LinkedIn

                    1 Reply Last reply
                    0
                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                      BOOK WORM On the shelf there is a book of two parts. The first part has 972 pages (not including cover, but anything else), the second has 864 (same)... A curious worm ate itself thru the book starting with the front cover of the first part and until the very end of the back cover of the last part... How many pages it perforated on the way?

                      Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                      A Offline
                      A Offline
                      AndrewDavie
                      wrote on last edited by
                      #28

                      Are we also not including other non-numbered pages like the preface, contents, 'This page intentionally left blank' etc?

                      Kornfeld Eliyahu PeterK 1 Reply Last reply
                      0
                      • B Brady Kelly

                        Very good, if the puzzle stipulated that the worm burrowed through both volumes in one straight line. In your drawing, the worm could very well have started between the two volumes, and burrowed to the left through the first one, then circled back to the right of the second one and burrowed left until the back cover of that one.

                        Follow my adventures with .NET Core at my new blog, Erisia Information Services.

                        W Offline
                        W Offline
                        W Balboos GHB
                        wrote on last edited by
                        #29

                        The worm could also have eaten through the bottom, went out, bought a suit, and after being elected to office hired someone to rearrange the books. Or anything else you care type. Read the problem; whilst it is true that anything that is not excluded from the answer may come into consideration, don't embellish the problem. Also, see Occam's razor[^].

                        Ravings en masse^

                        "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                        "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                        B 1 Reply Last reply
                        0
                        • W W Balboos GHB

                          The worm could also have eaten through the bottom, went out, bought a suit, and after being elected to office hired someone to rearrange the books. Or anything else you care type. Read the problem; whilst it is true that anything that is not excluded from the answer may come into consideration, don't embellish the problem. Also, see Occam's razor[^].

                          Ravings en masse^

                          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                          "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                          B Offline
                          B Offline
                          Brady Kelly
                          wrote on last edited by
                          #30

                          Aah, yes, the Razor, one of my favourite philosophising tools, but occasionally shelved for playful pickiness. :)

                          Follow my adventures with .NET Core at my new blog, Erisia Information Services.

                          1 Reply Last reply
                          0
                          • A AndrewDavie

                            Are we also not including other non-numbered pages like the preface, contents, 'This page intentionally left blank' etc?

                            Kornfeld Eliyahu PeterK Offline
                            Kornfeld Eliyahu PeterK Offline
                            Kornfeld Eliyahu Peter
                            wrote on last edited by
                            #31

                            Kornfeld Eliyahu Peter wrote:

                            not including cover, but anything else

                            ...

                            Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                            "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                            1 Reply Last reply
                            0
                            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                              BOOK WORM On the shelf there is a book of two parts. The first part has 972 pages (not including cover, but anything else), the second has 864 (same)... A curious worm ate itself thru the book starting with the front cover of the first part and until the very end of the back cover of the last part... How many pages it perforated on the way?

                              Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                              E Offline
                              E Offline
                              englebart
                              wrote on last edited by
                              #32

                              It depends on the order of the books on the shelf and also on the language of the book. (Left to right reading order or Right to left reading order) Either way, there are only 2 possible answers for the four possible scenarios: 0 or the sum of the pages in both books.

                              Kornfeld Eliyahu PeterK 1 Reply Last reply
                              0
                              • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                Even you are right about the confusion between pages and sheets, but that's intentional... And in your case it led you to the wrong answer... ;)

                                Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                B Offline
                                B Offline
                                Brady Kelly
                                wrote on last edited by
                                #33

                                Only wrong if we set aside Occam's Razor and consider that the worm did not burrow a straight hole through both parts in one go, as there is no such constraint set in the puzzle. :laugh:

                                Follow my adventures with .NET Core at my new blog, Erisia Information Services.

                                1 Reply Last reply
                                0
                                • E englebart

                                  It depends on the order of the books on the shelf and also on the language of the book. (Left to right reading order or Right to left reading order) Either way, there are only 2 possible answers for the four possible scenarios: 0 or the sum of the pages in both books.

                                  Kornfeld Eliyahu PeterK Offline
                                  Kornfeld Eliyahu PeterK Offline
                                  Kornfeld Eliyahu Peter
                                  wrote on last edited by
                                  #34

                                  The Lounge is an English site... :-D

                                  Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                  "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                  1 Reply Last reply
                                  0
                                  • M Mark_Wallace

                                    Was it an African worm or a European one?

                                    I wanna be a eunuchs developer! Pass me a bread knife!

                                    A Offline
                                    A Offline
                                    ajhampson
                                    wrote on last edited by
                                    #35

                                    What! I don't know that! Aaaaaaaaaaaaaa! LOL

                                    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