Borderou de evaluare (job #2171989)
Utilizator | Data | 15 martie 2018 14:30:22 | |
---|---|---|---|
Problema | Expresie2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int suma()’:
user.cpp:20:15: error: invalid types ‘int[int]’ for array subscript
if(s[k]=='(')
^
user.cpp:21:21: error: ‘ssm’ was not declared in this scope
s+=ssm(k);
^
user.cpp:22:20: error: invalid types ‘int[int]’ for array subscript
else if(s[k]=='[')
^
user.cpp:23:21: error: ‘elm’ was not declared in this scope
s+=elm(k);
^
user.cpp:24:20: error: invalid types ‘int[int]’ for array subscript
else if(s[k]==',')
^
user.cpp:26:28: error: invalid types ‘int[int]’ for array subscript
else if(isdigit(s[k])||s[k]=='-')
^
user.cpp:26:35: error: invalid types ‘int[int]’ for array subscript
else if(isdigit(s[k])||s[k]=='-')
^
user.cpp:27:16: error: ‘nr’ was not declared in this scope
s+=nr;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !