rewrite leetcode divide two integers