C++ | faster than 100.00%
\nclass Solution {\npublic:\n    int poorPigs(int buckets, int poisonTime, int totalTime) {\n        return ceil(log(buckets) / log(totalTime / poisonTime + 1))
```\nclass Solution {\npublic:\n    int poorPigs(int buckets, int poisonTime, int totalTime) {\n        return ceil(log(buckets) / log(totalTime / poisonTime + 1));\n    }\n};\n```
[]