Code not working in the code blocks ide but working in other compilers.Giving runtime error

Here is my code:
#include
#include<bits/stdc++.h>
using namespace std;
#define M 32
int main() {
int t;
cin>>t;
while(t–){
string a,b;
cin>>a>>b;
string s;
for(int i=0;i<a.length();i++){
if(a[i]==b[i]){
cout<<0;
}
else{
cout<<1;
}
}
}
return 0;
}