Borderou de evaluare (job #2978177)
Utilizator | Data | 13 februarie 2023 12:09:43 | |
---|---|---|---|
Problema | Editor | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:8: error: expected initializer before 's'
8 | char r s[1000002], ex[1000002];
| ^
main.cpp: In function 'int main()':
main.cpp:20:18: error: 'ex' was not declared in this scope; did you mean 'exp'?
20 | else ex[++k] = c[j];
| ^~
| exp
main.cpp:26:16: error: 'ex' was not declared in this scope; did you mean 'exp'?
26 | if(ex[j] == '(' || ex[j] == '[') s[++top] = ex[j];
| ^~
| exp
main.cpp:26:46: error: 's' was not declared in this scope
26 | if(ex[j] == '(' || ex[j] == '[') s[++top] = ex[j];
| ^
main.cpp:29:24: error: 's' was not declared in this scope
29 | if(s[top] == '(' && top) top--;
| ^
main.cpp:33:24: error: 's' was not declared in this scope
33 | if(s[top] == '[' && top) top--;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !