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