Loading Now

stringXor

Given two strings consisting of digits 0 and 1 only, find the XOR of the two strings.

Example

For s = "101" and t = "001", the output should be stringXor(s,t) = "100".

Input/Output

  • [execution time limit] 1 seconds 
  • [input] String s,  t
    1 ≤ |s| ≤ 10^5.
  • [output] string
       
      The XOR of the two strings.

Post Comment

Contact