1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

where are the poisened pills?

Discussion in 'BlackHat Lounge' started by neutralhatter, Jul 29, 2013.

  1. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
    As a follow up to Sn0rts post: http://www.blackhatworld.com/blackhat-seo/blackhat-lounge/591138-wheres-missing-dollar.html

    Here is my riddle:
    I got this riddle when I first went to work for Microsoft as a developer...

    ---------------------------------------------------

    You have regular "weighing scale"... (not a libra scale)

    you receive 3 pots of pills.

    In each pot there are 100 pills

    each pill weighs 10 grams

    1 pot has poisened pills, these pills weigh 9 grams a pill

    you can only weigh 1 time...

    How do you find the poisened pills ?
     
  2. SkyrocketSEO

    SkyrocketSEO Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2012
    Messages:
    4,344
    Likes Received:
    11,240
    Occupation:
    travəlɪŋ
    Location:
    Aibres
    Home Page:
    First you said that all the pills ar 10 grams and after that you say that some pills are 9 grams...
     
    • Thanks Thanks x 1
  3. RushingWind

    RushingWind Elite Member

    Joined:
    Apr 6, 2013
    Messages:
    2,416
    Likes Received:
    3,333
    By letting your friend have it first :D
     
    • Thanks Thanks x 1
  4. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
    the poisened pills are an exception. 1 pot has poisened pills. they weigh 9 grams each

    regular pills weigh 10 grams

    poisened pills and regular pills look exactly the same.
     
  5. E=MC²

    E=MC² Junior Member

    Joined:
    Apr 12, 2013
    Messages:
    176
    Likes Received:
    183
    You take 10 pills of the first pot, 6 from the second, and 1 from the last, and you weight the 17 pills at the same time:
    -If the weight is 160g, then the 10 pills are poisoned.
    -If the weight is 164g, then the 6 pills are poisoned.
    -If the weight is 169g, then the 1 pill are poisoned.
     
    • Thanks Thanks x 1
  6. Junkfood00

    Junkfood00 Elite Member

    Joined:
    Sep 13, 2011
    Messages:
    1,949
    Likes Received:
    1,336
    So do we not have to determine the poisoned ones after weighing? Like are we allowed to mix? Because else, it seems impossible.
     
  7. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,112
    Likes Received:
    28,543
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
  8. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
    you are allowed to mix
     
  9. Junkfood00

    Junkfood00 Elite Member

    Joined:
    Sep 13, 2011
    Messages:
    1,949
    Likes Received:
    1,336
    Alright. Mixed. Now what? :biggrin1:
     
  10. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
    E=MC² has the correct answer ;-)

    you are allowed to mix
     
  11. hameem

    hameem Elite Member

    Joined:
    Jul 21, 2011
    Messages:
    1,880
    Likes Received:
    985
    Location:
    221B Baker Street
    Now eat your junkfood or take the pills by random for dying slowly or fast, respectively.
     
  12. StrixMedia

    StrixMedia Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 25, 2013
    Messages:
    2,067
    Likes Received:
    264
    Gender:
    Male
    Location:
    In a competitive world
    lol this is hard and I can't find the answer on google
     
  13. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    You killed it lol :)
     
  14. SkyrocketSEO

    SkyrocketSEO Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2012
    Messages:
    4,344
    Likes Received:
    11,240
    Occupation:
    travəlɪŋ
    Location:
    Aibres
    Home Page:
    Is one pot filled just with poisoned pills or there is a random number of pills?
     
  15. hameem

    hameem Elite Member

    Joined:
    Jul 21, 2011
    Messages:
    1,880
    Likes Received:
    985
    Location:
    221B Baker Street
    One pot filled with just poisoned pills.
     
  16. SkyrocketSEO

    SkyrocketSEO Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2012
    Messages:
    4,344
    Likes Received:
    11,240
    Occupation:
    travəlɪŋ
    Location:
    Aibres
    Home Page:
    So, where is the riddle? This is so easy that I won't even bother giving the answer....I thought there are just a couple of bad pills

    Edit: Just saw a guy gave the answer already, what a stupid "riddle". So, that's what you gotta answer to enter Microsoft...good Lord, Bill Gates went crazy
     
  17. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    That's actually a very good & common riddle SRS.. :/
     
    • Thanks Thanks x 1
  18. procam

    procam Senior Member

    Joined:
    Jan 5, 2010
    Messages:
    879
    Likes Received:
    325
    Occupation:
    Webmaster, Big Data Scrappin
    Location:
    'lynx -listonly -dump url.yourcrappysite.com'
    All of the pills would be poisoned due to cross contamination :D
     
  19. neutralhatter

    neutralhatter Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 23, 2010
    Messages:
    430
    Likes Received:
    330
    They make you jump through hoops everywhere, one way or the other...

     
  20. chapter2

    chapter2 Newbie

    Joined:
    Apr 16, 2011
    Messages:
    24
    Likes Received:
    127
    My solution:

    Weigh 2 pills from the first pot with 1 from the second pot. If:
    a) sum = 30 => poisoned pills are in the pot 3
    b) sum = 29 => poisoned pills are in the pot 2
    c) sum = 28 => poisoned pills are in the pot 1