From 8c8c7c1642bb710be9a902aacc0ec2f6607d8910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1n=20Korpesio?= Date: Sun, 28 Nov 2021 19:38:08 +0100 Subject: [PATCH] prvy --- a2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a2/program.c b/a2/program.c index 95ae361..c1d968a 100644 --- a/a2/program.c +++ b/a2/program.c @@ -131,7 +131,7 @@ int main(){ hej = 1; //r[a] = 'a'; p = a; - a = n; + a = n -1; } else if (r[a] == '}' || r[a] == ']' || r[a] == ')'){ //puts("nasiel");