Borderou de evaluare (job #1983757)

Utilizator aelinAnisoara aelin Data 22 mai 2017 13:09:26
Problema Paranteze2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:18:21: error: ‘j’ was not declared in this scope if(a[i]==')' && a[j]=='(' )aux++; ^ user.cpp:21:12: error: ‘aux’ was not declared in this scope cout<<n/2+aux; ^ user.cpp:8:14: warning: unused variable ‘b’ [-Wunused-variable] int i=0, n, b=0; ^

Ceva nu functioneaza?