# include <stdio.h>
# include <ctype.h>
int fuzzyStrcmp(char s[], char t[]){
//関数の中だけを書き換えてください
//同じとき1を返す,異なるとき0を返す
int i = 0;
while (s[i] != '\0' && t[i] != '\0') {
// 小文字に変換して比較
return 0; // 異なる文字があれば 0 を返す
}
i++;
}
// 文字列の長さが同じであれば 1、それ以外は 0
return (s[i] == '\0' && t[i] == '\0') ? 1 : 0;
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgojIGluY2x1ZGUgPGN0eXBlLmg+CgppbnQgZnV6enlTdHJjbXAoY2hhciBzW10sIGNoYXIgdFtdKXsKCS8v6Zai5pWw44Gu5Lit44Gg44GR44KS5pu444GN5o+b44GI44Gm44GP44Gg44GV44GECgkvL+WQjOOBmOOBqOOBje+8keOCkui/lOOBme+8jOeVsOOBquOCi+OBqOOBje+8kOOCkui/lOOBmQppbnQgaSA9IDA7CiAgICB3aGlsZSAoc1tpXSAhPSAnXDAnICYmIHRbaV0gIT0gJ1wwJykgewogICAgICAgIC8vIOWwj+aWh+Wtl+OBq+WkieaPm+OBl+OBpuavlOi8gwogICAgICAgIGlmICh0b2xvd2VyKHNbaV0pICE9IHRvbG93ZXIodFtpXSkpIHsKICAgICAgICAgICAgcmV0dXJuIDA7ICAvLyDnlbDjgarjgovmloflrZfjgYzjgYLjgozjgbAgMCDjgpLov5TjgZkKICAgICAgICB9CiAgICAgICAgaSsrOwogICAgfQogICAgLy8g5paH5a2X5YiX44Gu6ZW344GV44GM5ZCM44GY44Gn44GC44KM44GwIDHjgIHjgZ3jgozku6XlpJbjga8gMAogICAgcmV0dXJuIChzW2ldID09ICdcMCcgJiYgdFtpXSA9PSAnXDAnKSA/IDEgOiAwOwoKfQoKLy/jg6HjgqTjg7PplqLmlbDjga/mm7jjgY3mj5vjgYjjgarjgY/jgabjgafjgY3jgb7jgZkgCmludCBtYWluKCl7CiAgICBpbnQgYW5zOwogICAgY2hhciBzWzEwMF07CiAgICBjaGFyIHRbMTAwXTsKICAgIHNjYW5mKCIlcyAlcyIscyx0KTsKICAgIHByaW50ZigiJXMgPSAlcyAtPiAiLHMsdCk7CiAgICBhbnMgPSBmdXp6eVN0cmNtcChzLHQpOwogICAgcHJpbnRmKCIlZFxuIixhbnMpOwogICAgcmV0dXJuIDA7Cn0K