Borderou de evaluare (job #2609188)

Utilizator XXMihaiXX969Gherghinescu Mihai Andrei XXMihaiXX969 Data 2 mai 2020 12:10:58
Problema Paranteze Status done
Runda igorj_mentorat1 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:39:5: error: expected ';' before 'in' in >> s; ^~ main.cpp:43:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); ++i) { ~~^~~~~~~~~~ main.cpp:45:19: warning: array subscript has type 'char' [-Wchar-subscripts] if (o[s[i]] == 1) { ^ main.cpp:49:47: warning: array subscript has type 'char' [-Wchar-subscripts] if (!st.empty() && tip[s[st.top()]] == tip[s[i]]) { ^ main.cpp:49:60: warning: array subscript has type 'char' [-Wchar-subscripts] if (!st.empty() && tip[s[st.top()]] == tip[s[i]]) { ^ main.cpp:60:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); ++i) { ~~^~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?