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