#include <stdio.h>
#include <ctype.h> // 大文字小文字変換のため
int fuzzyStrcmp(const char* s, const char* t) {
int i = 0;
// 両方の文字列の終端まで比較
while (s[i] != '\0' && t[i] != '\0') {
// 大文字小文字を無視して比較
return 0; // 異なれば0を返す
}
i++;
}
// 両方の文字列が同時に終端に到達していれば一致
return (s[i] == '\0' && t[i] == '\0') ? 1 : 0;
}
int main() {
int ans;
char s[100];
char t[100];
// 2つの文字列を入力
// 文字列を表示して比較結果を出力
ans = fuzzyStrcmp(s, t);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxjdHlwZS5oPiAgLy8g5aSn5paH5a2X5bCP5paH5a2X5aSJ5o+b44Gu44Gf44KBCgppbnQgZnV6enlTdHJjbXAoY29uc3QgY2hhciogcywgY29uc3QgY2hhciogdCkgewogICAgaW50IGkgPSAwOwogICAgCiAgICAvLyDkuKHmlrnjga7mloflrZfliJfjga7ntYLnq6/jgb7jgafmr5TovIMKICAgIHdoaWxlIChzW2ldICE9ICdcMCcgJiYgdFtpXSAhPSAnXDAnKSB7CiAgICAgICAgLy8g5aSn5paH5a2X5bCP5paH5a2X44KS54Sh6KaW44GX44Gm5q+U6LyDCiAgICAgICAgaWYgKHRvbG93ZXIoc1tpXSkgIT0gdG9sb3dlcih0W2ldKSkgewogICAgICAgICAgICByZXR1cm4gMDsgIC8vIOeVsOOBquOCjOOBsDDjgpLov5TjgZkKICAgICAgICB9CiAgICAgICAgaSsrOwogICAgfQoKICAgIC8vIOS4oeaWueOBruaWh+Wtl+WIl+OBjOWQjOaZguOBq+e1guerr+OBq+WIsOmBlOOBl+OBpuOBhOOCjOOBsOS4gOiHtAogICAgcmV0dXJuIChzW2ldID09ICdcMCcgJiYgdFtpXSA9PSAnXDAnKSA/IDEgOiAwOwp9CgppbnQgbWFpbigpIHsKICAgIGludCBhbnM7CiAgICBjaGFyIHNbMTAwXTsKICAgIGNoYXIgdFsxMDBdOwogICAgCiAgICAvLyAy44Gk44Gu5paH5a2X5YiX44KS5YWl5YqbCiAgICBzY2FuZigiJXMgJXMiLCBzLCB0KTsKCiAgICAvLyDmloflrZfliJfjgpLooajnpLrjgZfjgabmr5TovIPntZDmnpzjgpLlh7rlipsKICAgIHByaW50ZigiJXMgPSAlcyAtPiAiLCBzLCB0KTsKICAgIGFucyA9IGZ1enp5U3RyY21wKHMsIHQpOwogICAgcHJpbnRmKCIlZFxuIiwgYW5zKTsKCiAgICByZXR1cm4gMDsKfQo=