1sssaaaaaaadsdsddsdsddsddsd

This commit is contained in:
Denis Landa 2025-11-20 21:16:51 +01:00
parent 11642eefc0
commit 0c4079124c

View File

@ -49,13 +49,13 @@ void spusti_system(Uzol* root) {
}
char c;
if (scanf(" %c", &c) != 1) {
printf("Nerozumiem\n");
printf("Koniec vstupu\n");
return;
}
if (c == 'a') akt = akt->left;
else if (c == 'n') akt = akt->right;
else {
printf("Koniec vstupu\n");
printf("Nerozumiem\n");
return;
}
if (!akt) { /* ak strom nie je dobre zadaný */