Borderou de evaluare (job #2600312)
Utilizator | Data | 12 aprilie 2020 13:35:21 | |
---|---|---|---|
Problema | Par | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:1: error: 'vector' does not name a type
vector<char>st;
^~~~~~
main.cpp: In function 'int main()':
main.cpp:18:17: error: 'st' was not declared in this scope
st.push(s[i]);
^~
main.cpp:21:25: error: 'st' was not declared in this scope
if(!st.empty())
^~
main.cpp:20:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(s[i]==')')
^
main.cpp:28:12: error: 'st' was not declared in this scope
g<<st.size()/2+cnt;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !