I am getting an ouput of timelimit..pls check

#include
#include
using namespace std;

int main()
{
int t;
cin>>t;
while(t–)
{
string s1;
string s2;
cin>>s1;
cin>>s2;

	char ans[100]={0};
	for(int i=0;i<s1[i]!='/0';i++)
	{
		if(s1[i]==s2[i])
		{
			ans[i]=0;
		}
		else
		{
			ans[i]=1;
		}
	}
	for(int i=0;s1[i]!='\0';i++)
	{
		cout<<ans[i];
	}
}

}

hi vanshika
you are getting TLE because this question needs to be solved by taking XOR ( and operating on bits is faster and has lesser time complexity)
take xor of 10111 and 10000 and then return the answer.
hint:you need to convert every char of string into number for taking xor

if still you are not able to understand ping me again. i will help you