what is wrong in the code?
Ultra fast mathematics in c++
@Chandra123 for every test case you’re also taking in the length before the two numbers, whereas it no where mentioned in the question that you have to take the length as well.
Instead of int arrays, try taking input in two different string. If the corresponding indices of the two input strings have different values then update that index of the answer string with 1, else update it with 0.