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