From 4a73ded563953a1cddcbb20d59bdd1f0c4eaf4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Korpesio?= Date: Sun, 28 Nov 2021 20:09:58 +0100 Subject: [PATCH] prvy --- a2/program.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/a2/program.c b/a2/program.c index d200cac..a19a266 100644 --- a/a2/program.c +++ b/a2/program.c @@ -53,6 +53,7 @@ int main(){ //r[a] = 'a'; p = a; a = n; + i++; } else if (r[a] == ')' || r[a] == ']' || r[a] == '>'){ //puts("nie"); @@ -79,6 +80,7 @@ int main(){ //r[a] = 'a'; p = a; a = n; + i++; } else if (r[a] == '}' || r[a] == ']' || r[a] == '>'){ //puts("nasiel"); @@ -106,6 +108,7 @@ int main(){ //r[a] = 'a'; p = a; a = n; + i++; } else if (r[a] == '}' || r[a] == ')' || r[a] == '>'){ //puts("nie"); @@ -132,6 +135,7 @@ int main(){ //r[a] = 'a'; p = a; a = n; + i++; } else if (r[a] == '}' || r[a] == ']' || r[a] == ')'){ //puts("nasiel");