# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
//関数の中だけを書き換えてください
//同じとき1を返す,異なるとき0を返す
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;
}
}
if(s[0]!=t[0]){
return 0;
}
else
{
for(i=0; s[i] != '\0'||t[i] != '\0' ;i++){
if(s[i]=='\0'||t[i]=='\0'){
return 1;
}
}
if(s[i]==t[i]) return 1;
else return 0;
}
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CgkvL+mWouaVsOOBruS4reOBoOOBkeOCkuabuOOBjeaPm+OBiOOBpuOBj+OBoOOBleOBhAoJLy/lkIzjgZjjgajjgY3vvJHjgpLov5TjgZnvvIznlbDjgarjgovjgajjgY3vvJDjgpLov5TjgZkKICAgIGludCBpOwoJZm9yKGk9MDtzW2ldIT0nXDAnO2krKyl7CgkJaWYoJ2EnPD1zW2ldJiZzW2ldPD0neicpewoJCXNbaV09c1tpXS0zMjsKCQl9Cgl9Cglmb3IoaT0wO3RbaV0hPSdcMCc7aSsrKXsKCQlpZignYSc8PXRbaV0mJnRbaV08PSd6Jyl7CgkJdFtpXT10W2ldLTMyOwoJCX0KCX0KCWlmKHNbMF0hPXRbMF0pewoJCXJldHVybiAwOwoJCQl9CiAgICBlbHNlCgkJewoJCQlmb3IoaT0wOyBzW2ldICE9ICdcMCd8fHRbaV0gIT0gJ1wwJyA7aSsrKXsKCQkJCWlmKHNbaV09PSdcMCd8fHRbaV09PSdcMCcpewkKCQkJCQkJCQkJCQkgcmV0dXJuIDE7CgkJCQkJCQkJCQkJCX0KICAgICAgCQkJCQkJfQoJCWlmKHNbaV09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