leetcode/include/s0029_divide_two_integers.hpp

15 lines
221 B
C++
Raw Normal View History

2022-11-21 13:15:56 +00:00
#ifndef S0029_DIVIDE_TWO_INTEGERS_HPP
#define S0029_DIVIDE_TWO_INTEGERS_HPP
2022-11-15 08:54:39 +00:00
#include <climits>
2022-11-30 10:20:36 +00:00
using namespace std;
class S0029 {
2022-11-15 08:54:39 +00:00
public:
int divide(int dividend, int divisor);
2022-11-30 10:20:36 +00:00
int div(long a, long b);
2022-11-15 08:54:39 +00:00
};
#endif