# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
int k=0;
while(t[k]!='\0'){
k++;
}
if(s[k]!='\0'){
return 0;
}
for(int i=0; i<k; i++){
if(s[i]!=t[i]){
if((s[i]-t[i])||(t[i]-s[i])==32){
break;
}
else{
return 0;
}
}
}
return 1;
//関数の中だけを書き換えてください
//同じとき1を返す,異なるとき0を返す
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CglpbnQgaz0wOwoJd2hpbGUodFtrXSE9J1wwJyl7CgkJaysrOwoJfQoJaWYoc1trXSE9J1wwJyl7CgkJcmV0dXJuIDA7Cgl9Cglmb3IoaW50IGk9MDsgaTxrOyBpKyspewoJCWlmKHNbaV0hPXRbaV0pewoJCQlpZigoc1tpXS10W2ldKXx8KHRbaV0tc1tpXSk9PTMyKXsKCQkJCWJyZWFrOwoJCQl9CgkJCWVsc2V7CgkJCQlyZXR1cm4gMDsKCQkJfQoJCX0KCX0KCXJldHVybiAxOwoJLy/plqLmlbDjga7kuK3jgaDjgZHjgpLmm7jjgY3mj5vjgYjjgabjgY/jgaDjgZXjgYQKCS8v5ZCM44GY44Go44GN77yR44KS6L+U44GZ77yM55Ww44Gq44KL44Go44GN77yQ44KS6L+U44GZCn0KCi8v44Oh44Kk44Oz6Zai5pWw44Gv5pu444GN5o+b44GI44Gq44GP44Gm44Gn44GN44G+44GZIAppbnQgbWFpbigpewogICAgaW50IGFuczsKICAgIGNoYXIgc1sxMDBdOwogICAgY2hhciB0WzEwMF07CiAgICBzY2FuZigiJXMgJXMiLHMsdCk7CiAgICBwcmludGYoIiVzID0gJXMgLT4gIixzLHQpOwogICAgYW5zID0gZnV6enlTdHJjbXAocyx0KTsKICAgIHByaW50ZigiJWRcbiIsYW5zKTsKICAgIHJldHVybiAwOwp9Cg==