WHY ISNT MY SECOND GETLINE(CIN,ST2) STATEMENT ACCEPTED?
#include<bits/stdc++.h>
using namespace std;
main()
{
int t;
cin>>t;
while(t!=0)
{
string st,st2;
getline(cin,st);
getline(cin,st2);
//cout<<strlen(st)<<endl;
for(int i=0;i<st.size();i++)
{
cout<<(st[i] ^ st2[i]);
}
cout<<endl;
t–;
}
return 0;
}