<gh_stars>0
class Solution(object):
    def poorPigs(self, buckets, minutesToDie, minutesToTest):
        """
        :type buckets: int
        :type minutesToDie: int
        :type minutesToTest: int
        :rtype: int
        """
        try_count = minutesToTest / minutesToDie + 1
        res = 0
        while try_count ** res < buckets:
            res += 1
        return res

class Solution(object):
    def poorPigs(self, buckets, minutesToDie, minutesToTest):
        """
        :type buckets: int
        :type minutesToDie: int
        :type minutesToTest: int
        :rtype: int
        """
        try_count = minutesToTest / minutesToDie + 1
        res = 0
        while try_count ** res < buckets:
            res += 1
        return res
:type buckets: int         :type minutesToDie: int         :type minutesToTest: int         :rtype: int