• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

hmm.. figure this one out

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Supposing that eleven coins with round holes are worth 15 bits, while eleven square ones are worth 16 bits, and eleven of triangular shape are worth 17 bits, tell how many round, square or triangular pieces of cash would be required to purchase an item worth eleven bits.
a friend solved it easily (or so he claimed), but I stared at it for ten minutes. Struggled for 10 minutes. gave ut.
 
author
Posts: 9050
21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok -
I think I got it (~ 2 mins)
answer posted way below...
.
.
.
.
.
.
.
.
.
.
7 rounds and 1 square
[ August 31, 2003: Message edited by: Bert Bates ]
 
Ranch Hand
Posts: 1376
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yup. Each coin is worth x/11 - round is 15/11, square is 16/11, triangle is 17/11. The elevenths make things a little mind-bending, so to get to units, figure out how many elevenths you need... 11 = 121/11. So the answer is equivalent to adding up multiples of 15, 16 and 17 to get to 121.
Well, eight round coins is eight times 15 is 120, one too few. Simply upgrade one round to a square and the answer is revealed.
About a minute. Took longer to type this.
Joe
 
reply
    Bookmark Topic Watch Topic
  • New Topic