Test Case 0 showing wrong

#include
#include
using namespace std;

void Maths(string s1,string s2)
{
int i,j,x;
i=0;
while(i<s1.length())
{
x=s1[i]-s2[i];
if(x==-1)
x=s2[i]-s1[i];
string str=to_string(x);
s1.erase(i,1);
s1.insert(i,str);
i++;
}
cout<<s1;
}

int main()
{
int t;
cin>>t;
cout<<endl;
while(t>0)
{
string s1,s2;
cin>>s1>>s2;
Maths(s1,s2);
t–;
}
}

hi @Mukul-Shane-1247687648773500
Refer this–>

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.