/************************************************************** User: error408 Language: C/C++ School: SSDUT Saying: Do one thing at a time,and do well. ****************************************************************/ #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #pragma comment(linker,"/STACK:102400000,102400000") #define clr(s,x) memset((s),(x),sizeof(s)) #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 #define lowbit(x) (x&(-x)) #define PB push_back #define RL(N) scanf("%I64d",&N) #define RLL(L,R) (RL(L),RL(R)) #define lch(x) x<<1 #define rch(x) x<<1|1 typedef long long LL; typedef unsigned int uint; typedef unsigned long long ULL; typedef vector vint; typedef vector vstring; /************************************END DEFINE*********************************************/ const int maxn = 105; string a,b; int main() { int t; cin>>t; while(t--){ int n; cin>>n; cin>>a>>b; bool ok = true; for(int i=0;i