aboutsummaryrefslogtreecommitdiff
path: root/other/poor-pigs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'other/poor-pigs.cpp')
-rw-r--r--other/poor-pigs.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/other/poor-pigs.cpp b/other/poor-pigs.cpp
deleted file mode 100644
index 7455583..0000000
--- a/other/poor-pigs.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "leetcode.h"
-
-class Solution {
-public:
- int poorPigs(int buckets, int poisonTime, int totalTime) {
- return ceil(log(buckets) / log(totalTime / poisonTime + 1));
- }
-};