From 7ba647656737e1c2ee1d7ef4de4a72a1bd8005a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Korpesio?= Date: Sun, 28 Nov 2021 19:29:00 +0100 Subject: [PATCH] prvy --- a2/program.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/a2/program.c b/a2/program.c index d15527f..95ae361 100644 --- a/a2/program.c +++ b/a2/program.c @@ -43,6 +43,7 @@ int main(){ //printf("hodnota: %d\n", hodnota); if (hodnota == 1){ + hej = 0; //hodnota = 0; for (a = p; an; a++){ if (r[a] == ')') { @@ -93,6 +95,7 @@ int main(){ } } else if (hodnota == 3) { + hej = 0; //hodnota = 0; for (a = p; a < n; a++) { //puts("neidem"); @@ -120,6 +123,7 @@ int main(){ } } else if (hodnota == 4){ + hej = 0; //hodnota = 0; for (a = p; a>n; a++){ if (r[a] == '>') {