# include <stdio.h>
int fuzzyStrcmp(char s[], char t[]){
//関数の中だけを書き換えてください
for(int x=0;s[x]!='\0';x++)
if('a'<=s[x]&&s[x]<='z'){
s[x]=s[x]-32;
}
for(int y=0;t[y]!='\0';y++)
if('a'<=t[y]&&t[y]<='z'){
t[y]=t[y]-32;
}
for(int i=0;s[i]==t[i];i++)
{
if(s[i]=='\0') return 1;
}
return 0;
//同じとき1を返す,異なるとき0を返す
}
//メイン関数は書き換えなくてできます
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgoKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CgkvL+mWouaVsOOBruS4reOBoOOBkeOCkuabuOOBjeaPm+OBiOOBpuOBj+OBoOOBleOBhAoKCWZvcihpbnQgeD0wO3NbeF0hPSdcMCc7eCsrKQoJCWlmKCdhJzw9c1t4XSYmc1t4XTw9J3onKXsKCQlzW3hdPXNbeF0tMzI7CgkJfQoJZm9yKGludCB5PTA7dFt5XSE9J1wwJzt5KyspCgkJaWYoJ2EnPD10W3ldJiZ0W3ldPD0neicpewoJCXRbeV09dFt5XS0zMjsKCQl9CgoJZm9yKGludCBpPTA7c1tpXT09dFtpXTtpKyspCgkJCXsKCQkJaWYoc1tpXT09J1wwJykgcmV0dXJuIDE7CgkJCX0KCnJldHVybiAwOwoJLy/lkIzjgZjjgajjgY3vvJHjgpLov5TjgZnvvIznlbDjgarjgovjgajjgY3vvJDjgpLov5TjgZkKfQoKLy/jg6HjgqTjg7PplqLmlbDjga/mm7jjgY3mj5vjgYjjgarjgY/jgabjgafjgY3jgb7jgZkgCmludCBtYWluKCl7CiAgICBpbnQgYW5zOwogICAgY2hhciBzWzEwMF07CiAgICBjaGFyIHRbMTAwXTsKICAgIHNjYW5mKCIlcyAlcyIscyx0KTsKICAgIHByaW50ZigiJXMgPSAlcyAtPiAiLHMsdCk7CiAgICBhbnMgPSBmdXp6eVN0cmNtcChzLHQpOwogICAgcHJpbnRmKCIlZFxuIixhbnMpOwogICAgcmV0dXJuIDA7Cn0=