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

POTD

Scheduled Pinned Locked Moved The Lounge
questioncomtools
39 Posts 9 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.
  • M MoustafaS

    Puzzle of the day. A fence of a house is 10m length (square) At point d a dog is tied, it can't go inside the house, when it moves along the sides it reaches the point x (max), Where the point x, and d are a midpoints of there sides. Q : What is the area that the dog can move in ?

      d
    
      • -|- - -
        | |
        | |
        | |
        | |
      • -|- - -
        x

    About : Islam
    About : Me

    M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #28

    LongHC wrote:

    when it moves along the sides

    Well, if it's constrained to moving along the sides, then it doesn't create a closed container, it only follows the edges. So the area is 0. Marc

    Thyme In The Country
    Interacx

    People are just notoriously impossible. --DavidCrow
    There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
    People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

    M 1 Reply Last reply
    0
    • M Marc Clifton

      LongHC wrote:

      when it moves along the sides

      Well, if it's constrained to moving along the sides, then it doesn't create a closed container, it only follows the edges. So the area is 0. Marc

      Thyme In The Country
      Interacx

      People are just notoriously impossible. --DavidCrow
      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
      People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

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

      Marc Clifton wrote:

      LongHC wrote: when it moves along the sides

      That sentence was only to let them get the string length, as when it moves along the sides and reach the other side at the midpoint, so the length is 20m.:)


      About : Islam
      About : Me

      M 1 Reply Last reply
      0
      • M MoustafaS

        Vikram A Punathambekar wrote:

        Or did you mean one side of the square is 10m?

        Yes, very sorry if it wasn't clear enough.


        About : Islam
        About : Me

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #30

        Awww, I took it to mean the fence was 10m in length, and took one side to be 2.5m. Otherwise, I think I would have beaten Nish Bot and Andy. :(

        Cheers, Vıkram.


        Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

        M E 2 Replies Last reply
        0
        • V Vikram A Punathambekar

          Awww, I took it to mean the fence was 10m in length, and took one side to be 2.5m. Otherwise, I think I would have beaten Nish Bot and Andy. :(

          Cheers, Vıkram.


          Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

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

          Vikram A Punathambekar wrote:

          have beaten Nish Bot and Andy.

          Nevermind:-D, I have many others I can come up with.


          About : Islam
          About : Me

          1 Reply Last reply
          0
          • M MoustafaS

            Avery very nice one. I like these things, please come up now with one like it if you have:cool::rose:


            About : Islam
            About : Me

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

            Here is one "like" yours A man placed 4 stepping stones one foot square in a row, in a section of his garden so that there were equal spaces on all four sides of each of the stones. What possible dimension, the section can have ? Keep rolling and, talking about stepping stones - "Mistakes are stepping stones to success.” oops... was that a hint ?

            Omit Needless Words - Strunk, William, Jr.


            Vista? Cryptography Next Generation (CNG) here

            M 1 Reply Last reply
            0
            • R Raj Lal

              Here is one "like" yours A man placed 4 stepping stones one foot square in a row, in a section of his garden so that there were equal spaces on all four sides of each of the stones. What possible dimension, the section can have ? Keep rolling and, talking about stepping stones - "Mistakes are stepping stones to success.” oops... was that a hint ?

              Omit Needless Words - Strunk, William, Jr.


              Vista? Cryptography Next Generation (CNG) here

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

              I cant get it, could you explain or get a drawing ?


              About : Islam
              About : Me

              R 1 Reply Last reply
              0
              • M MoustafaS

                I cant get it, could you explain or get a drawing ?


                About : Islam
                About : Me

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

                LongHC wrote:

                could you explain or get a drawing

                i can give you the answer, if thats what you meant ;P

                Omit Needless Words - Strunk, William, Jr.


                Vista? Cryptography Next Generation (CNG) here

                M 1 Reply Last reply
                0
                • R Raj Lal

                  LongHC wrote:

                  could you explain or get a drawing

                  i can give you the answer, if thats what you meant ;P

                  Omit Needless Words - Strunk, William, Jr.


                  Vista? Cryptography Next Generation (CNG) here

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

                  OK, 1 by 1. I have another one, shall I put it in another thread ?


                  About : Islam
                  About : Me

                  1 Reply Last reply
                  0
                  • M MoustafaS

                    Marc Clifton wrote:

                    LongHC wrote: when it moves along the sides

                    That sentence was only to let them get the string length, as when it moves along the sides and reach the other side at the midpoint, so the length is 20m.:)


                    About : Islam
                    About : Me

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #36

                    LongHC wrote:

                    That sentence was only to let them get the string length

                    That's why I hated math word problems in school. Because in my mind, "moving along the sides" means just that. It constrains to movement to the sides! Marc

                    Thyme In The Country
                    Interacx

                    People are just notoriously impossible. --DavidCrow
                    There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                    People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                    M 1 Reply Last reply
                    0
                    • M Marc Clifton

                      LongHC wrote:

                      That sentence was only to let them get the string length

                      That's why I hated math word problems in school. Because in my mind, "moving along the sides" means just that. It constrains to movement to the sides! Marc

                      Thyme In The Country
                      Interacx

                      People are just notoriously impossible. --DavidCrow
                      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                      People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

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

                      :-D, nevermind you will have another chance.


                      About : Islam
                      About : Me

                      1 Reply Last reply
                      0
                      • V Vikram A Punathambekar

                        Awww, I took it to mean the fence was 10m in length, and took one side to be 2.5m. Otherwise, I think I would have beaten Nish Bot and Andy. :(

                        Cheers, Vıkram.


                        Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

                        E Offline
                        E Offline
                        Ed Gadziemski
                        wrote on last edited by
                        #38

                        Vikram A Punathambekar wrote:

                        Otherwise, I think I would have beaten Nish Bot and Andy.

                        You're dreaming. :)

                        V 1 Reply Last reply
                        0
                        • E Ed Gadziemski

                          Vikram A Punathambekar wrote:

                          Otherwise, I think I would have beaten Nish Bot and Andy.

                          You're dreaming. :)

                          V Offline
                          V Offline
                          Vikram A Punathambekar
                          wrote on last edited by
                          #39

                          I replied before either of them did. ;P

                          Cheers, Vıkram.


                          Déjà moo - The feeling that you've seen this bull before. Join the CP group at NationStates. Password: byalmightybob

                          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