This commit is contained in:
Yaroslav Orlianskyi 2022-03-18 14:24:21 +01:00
parent 521376ded3
commit 0fac0d8e98

View File

@ -12,7 +12,7 @@ int main(){
for(int i = 0; i < SIZE; i++){
char* r = fgets(riadok,SIZE,stdin);
if(*r != '\n'){
if(*r >= 0 && *r <= 255){
if(*r >= 65 && *r <= 122){
if(i == 0){
printf("Nepodarilo sa nacitat zaklad x\n");
return 0;