24 lines
429 B
C
24 lines
429 B
C
#include <stdio.h>
|
|
#ifndef bool
|
|
#define bool int
|
|
#define true 1
|
|
#define false 0
|
|
#endif
|
|
#define putbool(x) (printf("%s", (x) ? "TRUE" : "FALSE"))
|
|
|
|
int get_char(char *s) {
|
|
*s = getchar();
|
|
return *s != EOF && *s != '\n' && *s != '\r';
|
|
}
|
|
|
|
int main() {
|
|
char c;
|
|
while (get_char(&c)) {
|
|
if (c > 'z' || c < 'a') {
|
|
putbool(false);
|
|
return 0;
|
|
}
|
|
}
|
|
putbool(true);
|
|
return 0;
|
|
} |