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