# include <stdio.h>
int myStrcmp(char s[], char t[])
{
for(int i=0; s[i]!='\0'; i++)
{
for(int k=0; t[k]!='\0'; k++)
{
if(s[i]!=t[k])
{
return 0;
}
}
}
return 1;
}
int main()
{
int ans;
char s[100];
char t[100];
ans = myStrcmp(s,t);
printf("%s = %s -> %d\n",s
,t
,ans
); return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IG15U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSkKewoJZm9yKGludCBpPTA7IHNbaV0hPSdcMCc7IGkrKykKewoJZm9yKGludCBrPTA7IHRba10hPSdcMCc7IGsrKykKewoJaWYoc1tpXSE9dFtrXSkKewoJcmV0dXJuIDA7CgkJCQkJCX0KCgkJCQkJCQkJCX0KCQkJCQkJCQkJCQkJfQoKCglyZXR1cm4gMTsKfQoKaW50IG1haW4oKQp7CiAgICBpbnQgYW5zOwogICAgY2hhciBzWzEwMF07CiAgICBjaGFyIHRbMTAwXTsKICAgIHNjYW5mKCIlcyAlcyIscyx0KTsKICAgIGFucyA9IG15U3RyY21wKHMsdCk7CiAgICBwcmludGYoIiVzID0gJXMgLT4gJWRcbiIscyx0LGFucyk7CiAgICByZXR1cm4gMDsKfQo=