Borderou de evaluare (job #2600307)

Utilizator DavidAA007Apostol David DavidAA007 Data 12 aprilie 2020 13:34:22
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: 'stack' does not name a type stack<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?