# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
int i;
for(i=0;s[i]!='\0' || t[i]!='\0';i++){
if((s[i] != t[i])){
if(!((('a' <= s[i] <= 'z') && (s[i] - 32) == t[i]) || (('A' <= s[i] <= 'Z') && (s[i] + 32) == t[i])))
return 0;
}
}
return 1;
//関数の中だけを書き換えてください
//同じとき1を返す,異なるとき0を返す
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgogCmludCBmdXp6eVN0cmNtcChjaGFyIHNbXSwgY2hhciB0W10pewogICAgaW50IGk7CiAgICBmb3IoaT0wO3NbaV0hPSdcMCcgfHwgdFtpXSE9J1wwJztpKyspewogICAgICAgIGlmKChzW2ldICE9IHRbaV0pKXsKICAgICAgICAgICAgaWYoISgoKCdhJyA8PSBzW2ldIDw9ICd6JykgJiYgKHNbaV0gLSAzMikgPT0gdFtpXSkgfHwgKCgnQScgPD0gc1tpXSA8PSAnWicpICYmIChzW2ldICsgMzIpID09IHRbaV0pKSkKICAgICAgICAgICAgcmV0dXJuIDA7CiAgICAgICAgfQogICAgfQogICAgcmV0dXJuIDE7CgkvL+mWouaVsOOBruS4reOBoOOBkeOCkuabuOOBjeaPm+OBiOOBpuOBj+OBoOOBleOBhAoJLy/lkIzjgZjjgajjgY3vvJHjgpLov5TjgZnvvIznlbDjgarjgovjgajjgY3vvJDjgpLov5TjgZkKfQogCi8v44Oh44Kk44Oz6Zai5pWw44Gv5pu444GN5o+b44GI44Gq44GP44Gm44Gn44GN44G+44GZIAppbnQgbWFpbigpewogICAgaW50IGFuczsKICAgIGNoYXIgc1sxMDBdOwogICAgY2hhciB0WzEwMF07CiAgICBzY2FuZigiJXMgJXMiLHMsdCk7CiAgICBwcmludGYoIiVzID0gJXMgLT4gIixzLHQpOwogICAgYW5zID0gZnV6enlTdHJjbXAocyx0KTsKICAgIHByaW50ZigiJWRcbiIsYW5zKTsKICAgIHJldHVybiAwOwp9