Borderou de evaluare (job #1983677)
Utilizator | Data | 22 mai 2017 12:47:32 | |
---|---|---|---|
Problema | Paranteze2 | Status | done |
Runda | lasm_22.05.2017cl11 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:10:71: error: expected initializer before ‘++’ token
for(i=0;i<n-1;i++)if(a[i]=='(' || (a[i]==')' && a[i+1]=='(') ) int aux++;
^
user.cpp:11:6: error: ‘aux’ was not declared in this scope
out<<aux;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !