Avoiding TLE (for partially correct answers)


While forming the quotient string, use push_back() to generate the string. In my case, string += char was giving TLE.


@shinchan_007 Thanks bro !!! Your comment saved me a whole lot of time.


@shinchan_007 thaks for the comment but can you answer why push_back() worked?


yes, thanks a lot, I was also puzzled where the TLE was coming from