hi there...
I have developed the code in c++,but don't know any of those 3 languages..can anyone please help me to find out the code...??
include
int main()
{
char a[11], b[6];
for(int t=0;t<24;t++)
{
scanf("%s %s",&a,&b);
int k=0;
for(int i=0;i<=5;i++)
{
k=0;
for(int j=i;j {
if(a[j]==b[k])
k++;
else
break;
}
if(k==5)
{
printf("1\n");
break;
}
}
if(k!=5)
printf("0\n");
}
return 0;
}