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