Simple C++ solution
\nclass Solution {\n    public:\n    int poorPigs(int buckets, int minutesToDie, int minutesToTest) {\n        return ceil(log(buckets) / log(minutesToTest / mi
```\nclass Solution {\n    public:\n    int poorPigs(int buckets, int minutesToDie, int minutesToTest) {\n        return ceil(log(buckets) / log(minutesToTest / minutesToDie + 1));\n    } \n};\n```
[]