Ultra-fast-mathematicians

please review the code

hey @bhavuk_tomar

#include <iostream>
using namespace std;
int main() {
    string s1,s2="";
	string s3;
    int i,j,t;
    cin>>t;
    //for(int k=1;k<=t;k++)
	while(t--)
    {
	s3="";//added this here so that for each testcase we start with empty s3
    cin>>s1>>s2;
    for(i=0;i<s1.length();i++)
    {
        if(s1[i]==s2[i])
        s3.append("0");
        else 
        s3.append("1");
    }
    cout<<s3<<endl;
    }
    return 0;
}

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.