Borderou de evaluare (job #2907956)
Utilizator | Resiga Alexandru alexdv | Data | 31 mai 2022 23:14:09 |
---|---|---|---|
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:12:5: error: 'fin' was not declared in this scope
12 | fin >> n;
| ^~~
main.cpp:17:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
17 | while (text[stanga] == '(' && text[dreapta] == ')' || text[stanga] == '[' && text[dreapta] == ']' ||
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:18:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
18 | text[stanga] == '{' && text[dreapta] == '}') {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:26:5: error: 'fout' was not declared in this scope
26 | fout << maxS * 2;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !