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