Borderou de evaluare (job #2889554)
Utilizator | Data | 12 aprilie 2022 22:25:58 | |
---|---|---|---|
Problema | Paranteze | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:16: error: 'paranteze' was not declared in this scope
15 | stiva.push(paranteze[0]);
| ^~~~~~~~~
main.cpp:21:17: error: 'lungimemax' was not declared in this scope; did you mean 'lungimemaxima'?
21 | lungimemax = i - stiva.top();
| ^~~~~~~~~~
| lungimemaxima
main.cpp:12:9: warning: unused variable 'nr' [-Wunused-variable]
12 | int nr=0,lungimemaxima=0,l=0;
| ^~
main.cpp:12:30: warning: unused variable 'l' [-Wunused-variable]
12 | int nr=0,lungimemaxima=0,l=0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !