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