Borderou de evaluare (job #1806462)

Utilizator vladavladaa vlada Data 15 noiembrie 2016 12:59:32
Problema Editor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:23:24: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix] {if(stk.top()==')'or stk.top()==']') ^ user.cpp: In function ‘int main()’: user.cpp:15:9: error: ‘ok’ was not declared in this scope ok=1; ^ user.cpp:20:13: error: ‘stk’ was not declared in this scope stk.push(act) ^ user.cpp:21:9: error: expected ‘;’ before ‘}’ token } ^ user.cpp:22:13: error: ‘stk’ was not declared in this scope if(!stk.empty()) ^ user.cpp:28:14: error: ‘stk2’ was not declared in this scope stk2.push(stk.top()); ^ user.cpp:30:10: error: expected ‘;’ before ‘}’ token } ^ user.cpp:34:1: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?