Source Code
it=int(input())
for i in range(it):
    size=int(input())
    a =input()
    b =input()
    i = 0
    if a != b :
        print(1)
    else:
        print(0)
Copy
Split and Swap azoz1111111
GNU G++17
0 ms
0 KB
Compilation Error