Sir I an facing problem in the ultra mathematician problem. Attachment is error and code in screenshot.
Ultra Fast mathematician
First, length of numbers is 100. So you can not take input in form of int or even long long int.
HINT: use string to take input.
Here is my solution (try coding it yourself first):
#include
using namespace std;
int main() {
int T;
cin>>T;
while(T–)
{
string x,y;
cin>>x>>y;
for(int i=0;i<x.size();i++)
if(x[i]==y[i])
x[i]=‘0’;
else
x[i]=‘1’;
cout<<x<<endl;
}
}