# include <stdio.h>
#include <ctype.h>
int fuzzyStrcmp(char s[], char t[]){
while (*s != '\0' && *t != '\0') {
return 0; // 異なる文字があれば0を返す
}
s++;
t++;
}
return (*s == '\0' && *t == '\0') ? 1 : 0;
}
int main(){
int ans;
char s[100];
char t[100];
ans = fuzzyStrcmp(s,t);
return 0;
}
IyBpbmNsdWRlIDxzdGRpby5oPgojaW5jbHVkZSA8Y3R5cGUuaD4KCmludCBmdXp6eVN0cmNtcChjaGFyIHNbXSwgY2hhciB0W10pewoJd2hpbGUgKCpzICE9ICdcMCcgJiYgKnQgIT0gJ1wwJykgewoJCWlmICh0b2xvd2VyKCpzKSAhPSB0b2xvd2VyKCp0KSkgewoJCQlyZXR1cm4gMDsgIC8vIOeVsOOBquOCi+aWh+Wtl+OBjOOBguOCjOOBsDDjgpLov5TjgZkKCQkJfQoJCQlzKys7CgkJCXQrKzsKICAgIH0KICAgIHJldHVybiAoKnMgPT0gJ1wwJyAmJiAqdCA9PSAnXDAnKSA/IDEgOiAwOwp9CgppbnQgbWFpbigpewogICAgaW50IGFuczsKICAgIGNoYXIgc1sxMDBdOwogICAgY2hhciB0WzEwMF07CiAgICBzY2FuZigiJXMgJXMiLHMsdCk7CiAgICBwcmludGYoIiVzID0gJXMgLT4gIixzLHQpOwogICAgYW5zID0gZnV6enlTdHJjbXAocyx0KTsKICAgIHByaW50ZigiJWRcbiIsYW5zKTsKICAgIHJldHVybiAwOwp9Cg==