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