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