# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
int i = 0;
while (s[i] != '\0' && t[i] != '\0') {
char char_s = s[i];
char char_t = t[i];
if (char_s >= 'A' && char_s <= 'Z') {
char_s +='a'-'A';
}
if (char_t >= 'A' && char_t <= 'Z') {
char_t +='a'-'A';
}
if (char_s != char_t) {
return 0;}
i++;
}
if (s[i] != '\0' || t[i] != '\0') {
return 0;
}
return 1;}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CgkgaW50IGkgPSAwOwogICAgd2hpbGUgKHNbaV0gIT0gJ1wwJyAmJiB0W2ldICE9ICdcMCcpIHsKICAgIAogICAgICAgIGNoYXIgY2hhcl9zID0gc1tpXTsKICAgICAgICBjaGFyIGNoYXJfdCA9IHRbaV07CgogICAgICAgIGlmIChjaGFyX3MgPj0gJ0EnICYmIGNoYXJfcyA8PSAnWicpIHsKICAgICAgICAgICAgY2hhcl9zICs9J2EnLSdBJzsKICAgICAgICB9CiAgICAgICAgaWYgKGNoYXJfdCA+PSAnQScgJiYgY2hhcl90IDw9ICdaJykgewogICAgICAgICAgICBjaGFyX3QgKz0nYSctJ0EnOwogICAgICAgIH0KICAgICAgICBpZiAoY2hhcl9zICE9IGNoYXJfdCkgewogICAgICAgICAgICByZXR1cm4gMDt9CiAgICAgICAgCiAgICAgICAgaSsrOwogICAgfQogICAgaWYgKHNbaV0gIT0gJ1wwJyB8fCB0W2ldICE9ICdcMCcpIHsKICAgICAgICByZXR1cm4gMDsKICAgIH0KCiAgICByZXR1cm4gMTt9CgovL+ODoeOCpOODs+mWouaVsOOBr+abuOOBjeaPm+OBiOOBquOBj+OBpuOBp+OBjeOBvuOBmSAKaW50IG1haW4oKXsKICAgIGludCBhbnM7CiAgICBjaGFyIHNbMTAwXTsKICAgIGNoYXIgdFsxMDBdOwogICAgc2NhbmYoIiVzICVzIixzLHQpOwogICAgcHJpbnRmKCIlcyA9ICVzIC0+ICIscyx0KTsKICAgIGFucyA9IGZ1enp5U3RyY21wKHMsdCk7CiAgICBwcmludGYoIiVkXG4iLGFucyk7CiAgICByZXR1cm4gMDsKfQo=