Source Code
t=int(input())
for i in range(t):
    length=int(input())
    A=input()
    B=input()
    print(1)
    print(0)
Copy
Split and Swap azoz1111111
Python 3
29 ms
2.7 MB
Wrong Answer