One Line Accepted C++ Solution
\nclass Solution {\npublic:\n  int poorPigs(int buckets, int minutesToDie, int minutesToTest) {\n    return ceil(log(buckets) / log(minutesToTest / minutesToDie
```\nclass Solution {\npublic:\n  int poorPigs(int buckets, int minutesToDie, int minutesToTest) {\n    return ceil(log(buckets) / log(minutesToTest / minutesToDie + 1));\n  }\n};\n```
[]