This question already has an answer here:
This puzzle is taken directly from a site and reworded. The site can be found at the bottom of this question.
You are king of an empire and you are going to have a party soon. The party is the most important party you've ever hosted. You've got 1000 bottles of wine you were planning to use for the party, but you found out that one of them was poisoned.
The poison shows no effects until death. Death occurs within ten to twenty hours after drinking even the smallest amount of poison.
You have thousands of slaves at your disposal and just under 24 hours to determine which bottle has been poisoned.
You have a few prisoners soon to be executed, and it would ruin your celebration to have anyone else killed.
What is the least number of prisoners you must have to drink from the bottles to be confident that you found the poisoned wine in 24 hours?
The site this was taken from was: