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");