Showing wrong ans for 2 test case


not showing tle my logic is correct

your code doesn’t handle the case for a = 0 and b = anything. Check it out, it’s printing negative numbers,