So You Gots Some Buckets!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheSaxRunner05
    The Doctor
    • Apr 2006
    • 6144

    #31
    Re: So You Gots Some Buckets!

    Now the answers have been stated at least four times, can we lock this? lol


    Comment

    • Cavernio
      sunshine and rainbows
      • Feb 2006
      • 1987

      #32
      Re: So You Gots Some Buckets!

      I remember solving these types of problems when I was 13 for school.

      Comment

      • leonid
        I am leonid
        FFR Simfile Author
        FFR Music Producer
        • Oct 2008
        • 8080

        #33
        Re: So You Gots Some Buckets!

        wow you so smart



        Proud member of Team No

        Comment

        • Cavernio
          sunshine and rainbows
          • Feb 2006
          • 1987

          #34
          Re: So You Gots Some Buckets!

          Yes, schoolwork everyone in my class did makes me smart.
          Also in prof layton

          Comment

          • Emithith
            FFR Player
            • Sep 2008
            • 1784

            #35
            Re: So You Gots Some Buckets!

            Originally posted by leonid
            Here's my effort to make the solution look as compact as possible.

            Terminologies:

            A: Fill the 4 gallon bucket
            B: Fill the 9 gallon bucket
            nA: Put n gallons in the 4 gallon bucket
            nB: Put n gallons in the 9 gallon bucket
            BA: Pour from B to A until A is full or B is empty
            AB: Pour from A to B until B is full or A is empty
            ~A: Empty the 4 gallon bucket
            ~B: Empty the 9 gallon bucket

            1G: B - BA - ~A - BA - ~A
            2G: 1A - B - BA - ~A - BA - ~A
            3G: 2A - B - BA - ~A - BA - ~A
            4G: A
            5G: 1B - A
            6G: 2B - A
            7G: 3B - A
            8G: 4B - A
            9G: B
            10G: 1A - B
            11G: 2A - B
            12G: 3A - B
            13G: 4A - B

            lol wow Leo y u gotta make me look so dumb
            (It's not hard when I'm not a total genius to begin with. lmao!)

            This thread so needs to die though, so I'mma stop posting in here. lol

            Comment

            • benguino
              Kawaii Desu Ne?
              • Dec 2007
              • 4186

              #36
              Re: So You Gots Some Buckets!

              Originally posted by leonid
              Here's my effort to make the solution look as compact as possible.

              Terminologies:

              A: Fill the 4 gallon bucket
              B: Fill the 9 gallon bucket
              nA: Put n gallons in the 4 gallon bucket
              nB: Put n gallons in the 9 gallon bucket
              BA: Pour from B to A until A is full or B is empty
              AB: Pour from A to B until B is full or A is empty
              ~A: Empty the 4 gallon bucket
              ~B: Empty the 9 gallon bucket

              1G: B - BA - ~A - BA - ~A
              2G: 1A - B - BA - ~A - BA - ~A
              3G: 2A - B - BA - ~A - BA - ~A
              4G: A
              5G: 1B - A
              6G: 2B - A
              7G: 3B - A
              8G: 4B - A
              9G: B
              10G: 1A - B
              11G: 2A - B
              12G: 3A - B
              13G: 4A - B
              Recursive solutions are so beautiful (':
              AMA: http://ask.fm/benguino


              Originally posted by Spenner
              (^)> peck peck says the heels
              Originally posted by Xx{Midnight}xX
              And god made ben, and realized he was doomed to miss. And said it was good.
              Originally posted by Zakvvv666
              awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing

              Comment

              Working...