# include <stdio.h>
int myStrcmp(char s[], char t[])
{
for(int i=0; s[i]!='\0'; i++)
{
if(s[i]!=t[i])
{
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;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IG15U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSkKewoJZm9yKGludCBpPTA7IHNbaV0hPSdcMCc7IGkrKykKewoKCWlmKHNbaV0hPXRbaV0pCnsKCXJldHVybiAwOwoJCQkJCQl9CgoJCQkJCQkJCQl9CgoJcmV0dXJuIDE7CgkJCQkJCQkJCQkJCX0KCmludCBtYWluKCkKewogICAgaW50IGFuczsKICAgIGNoYXIgc1sxMDBdOwogICAgY2hhciB0WzEwMF07CiAgICBzY2FuZigiJXMgJXMiLHMsdCk7CiAgICBhbnMgPSBteVN0cmNtcChzLHQpOwogICAgcHJpbnRmKCIlcyA9ICVzIC0+ICVkXG4iLHMsdCxhbnMpOwogICAgcmV0dXJuIDA7Cn0K