leetcode/include/s0029_divide_two_integers.hpp

15 lines
221 B
C++

#ifndef S0029_DIVIDE_TWO_INTEGERS_HPP
#define S0029_DIVIDE_TWO_INTEGERS_HPP
#include <climits>
using namespace std;
class S0029 {
public:
int divide(int dividend, int divisor);
int div(long a, long b);
};
#endif