Ultra fast mathematicians

#include
#include
using namespace std;
int main() {
int t;
cin>>t;
while(t)
{
string str1;
string str2;
string str3;
getline(cin,str1);
getline(cin,str2);

for(int i=0;i<str2.length();i++)
{
	if(str1[i]==str2[i])
	str3[i]='0';
	else
	str3[i]='1';

}
cout<<str3<<endl;

	t--;

}
return 0;

}

what is wrong in this code?

I have edited your code… Try to submit it now…