# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
int i=0;
while(s[i]!='\0' && t[i]!='\0') {
//s[i]が小文字のとき大文字にする
if(s[i]>='a' && s[i]<='z') {
s[i] = s[i]-('a'-'A');
}
//t[i]が小文字のとき大文字にする
if(t[i]>='a' && t[i]<='z') {
t[i] = t[i]-('a'-'A');
}
if(s[i]!=t[i]) {
return 0;
}
i++;
}
if(s[i]=='\0' && t[i]=='\0') return 1;
else return 0;
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CglpbnQgaT0wOwoJd2hpbGUoc1tpXSE9J1wwJyAmJiB0W2ldIT0nXDAnKSB7CgkJLy9zW2ld44GM5bCP5paH5a2X44Gu44Go44GN5aSn5paH5a2X44Gr44GZ44KLCgkJaWYoc1tpXT49J2EnICYmIHNbaV08PSd6JykgewoJCQlzW2ldID0gc1tpXS0oJ2EnLSdBJyk7CgkJfQoJCS8vdFtpXeOBjOWwj+aWh+Wtl+OBruOBqOOBjeWkp+aWh+Wtl+OBq+OBmeOCiwoJCWlmKHRbaV0+PSdhJyAmJiB0W2ldPD0neicpIHsKCQkJdFtpXSA9IHRbaV0tKCdhJy0nQScpOwoJCX0KCQlpZihzW2ldIT10W2ldKSB7CgkJCXJldHVybiAwOwoJCX0KCQkKCQlpKys7Cgl9CglpZihzW2ldPT0nXDAnICYmIHRbaV09PSdcMCcpIHJldHVybiAxOwoJZWxzZSByZXR1cm4gMDsKfQoKLy/jg6HjgqTjg7PplqLmlbDjga/mm7jjgY3mj5vjgYjjgarjgY/jgabjgafjgY3jgb7jgZkgCmludCBtYWluKCl7CiAgICBpbnQgYW5zOwogICAgY2hhciBzWzEwMF07CiAgICBjaGFyIHRbMTAwXTsKICAgIHNjYW5mKCIlcyAlcyIscyx0KTsKICAgIHByaW50ZigiJXMgPSAlcyAtPiAiLHMsdCk7CiAgICBhbnMgPSBmdXp6eVN0cmNtcChzLHQpOwogICAgcHJpbnRmKCIlZFxuIixhbnMpOwogICAgcmV0dXJuIDA7Cn0K