1#include <ctype.h>
2#undef isupper
3
4int isupper(int c) {
5    return (unsigned)c - 'A' < 26;
6}
7