Borderou de evaluare (job #2731548)
Utilizator | Data | 27 martie 2021 22:03:53 | |
---|---|---|---|
Problema | Paranteze | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:34:29: error: 'lmax' was not declared in this scope
lmax = max(lmax, i+1);
^~~~
main.cpp:36:29: error: 'lmax' was not declared in this scope
lmax = max(lmax, i - contor.top());
^~~~
main.cpp:51:29: error: 'lmax' was not declared in this scope
lmax = max(lmax, i+1);
^~~~
main.cpp:53:29: error: 'lmax' was not declared in this scope
lmax = max(lmax, i - contor.top());
^~~~
main.cpp:68:33: error: 'lmax' was not declared in this scope
lmax = max(lmax, i+1);
^~~~
main.cpp:70:33: error: 'lmax' was not declared in this scope
lmax = max(lmax, i - contor.top());
^~~~
main.cpp:61:23: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(str[i] == '}')
^
main.cpp:80:8: error: 'lmax' was not declared in this scope
g<<lmax;
^~~~
main.cpp:15:11: warning: unused variable 'maxx' [-Wunused-variable]
int N,maxx = 0;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !