# include <stdio.h>
//課題2
int fuzzyStrcmp(char s[], char t[]){
int i;
for (; s[i] != '\0'; i++) {
if ('a' <= s[i] && s[i] <= 'z') {
s[i] = s[i] - 32;
}
}
for (; t[i] != '\0'; i++) {
if ('a' <= t[i] && t[i] <= 'z') {
t[i] = t[i] - 32;
}
}
for (; ; i++) {
if (s[i] != t[i]) {
return 0;
}
if (s[i] == '\0') {
return 1;
}
}
}
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgovL+iqsumhjDIKaW50IGZ1enp5U3RyY21wKGNoYXIgc1tdLCBjaGFyIHRbXSl7CglpbnQgaTsKCQoJZm9yICg7IHNbaV0gIT0gJ1wwJzsgaSsrKSB7CiAgICAgICAgaWYgKCdhJyA8PSBzW2ldICYmIHNbaV0gPD0gJ3onKSB7CiAgICAgICAgICAgIHNbaV0gPSBzW2ldIC0gMzI7CiAgICAgICAgfQogICAgfQogICAgZm9yICg7IHRbaV0gIT0gJ1wwJzsgaSsrKSB7CiAgICAgICAgaWYgKCdhJyA8PSB0W2ldICYmIHRbaV0gPD0gJ3onKSB7CiAgICAgICAgICAgIHRbaV0gPSB0W2ldIC0gMzI7CiAgICAgICAgfQogICAgfQogICAgZm9yICg7IDsgaSsrKSB7CiAgICAgICAgaWYgKHNbaV0gIT0gdFtpXSkgewogICAgICAgICAgICByZXR1cm4gMDsgCiAgICAgICAgfQogICAgICAgIGlmIChzW2ldID09ICdcMCcpIHsKICAgICAgICAgICAgcmV0dXJuIDE7IAogICAgICAgIH0KICAgIH0KfQogCmludCBtYWluKCl7CiAgICBpbnQgYW5zOwogICAgY2hhciBzWzEwMF07CiAgICBjaGFyIHRbMTAwXTsKICAgIHNjYW5mKCIlcyAlcyIscyx0KTsKICAgIHByaW50ZigiJXMgPSAlcyAtPiAiLHMsdCk7CiAgICBhbnMgPSBmdXp6eVN0cmNtcChzLHQpOwogICAgcHJpbnRmKCIlZFxuIixhbnMpOwogICAgcmV0dXJuIDA7Cn0=