#include <stdio.h>
#include <string.h>
#include <ctype.h>
int nocasecmp(const char *s1, const char *s2) {
printf("%c == %c\n", *s1
, *s2
); if (0 == *s1++ == *s2++) return 0;
}
}
int main(void) {
printf("%d", nocasecmp
("LG", "la")); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KI2luY2x1ZGUgPGN0eXBlLmg+CgppbnQgbm9jYXNlY21wKGNvbnN0IGNoYXIgKnMxLCBjb25zdCBjaGFyICpzMikgewogICAgd2hpbGUgKHRvbG93ZXIoKnMxKSA9PSB0b2xvd2VyKCpzMikpIHsKICAgIAlwcmludGYoIiVjID09ICVjXG4iLCAqczEsICpzMik7CiAgICAgICAgaWYgKDAgPT0gKnMxKysgPT0gKnMyKyspIHJldHVybiAwOwogICAgfQogICAgcmV0dXJuIHRvbG93ZXIoKnMxKSAtIHRvbG93ZXIoKnMyKTsKfQoKCmludCBtYWluKHZvaWQpIHsKCXByaW50ZigiJWQiLCBub2Nhc2VjbXAoIkxHIiwgImxhIikpOwoJcmV0dXJuIDA7Cn0K