Borderou de evaluare (job #3285734)

Utilizator Ruxandra009Ruxandra Vasilescu Ruxandra009 Data 13 martie 2025 13:52:51
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int eval()': main.cpp:16:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 16 | while(ind < s.size() && s[ind] != ')') | ~~~~^~~~~~~~~~ main.cpp:37:39: warning: array subscript has type 'char' [-Wchar-subscripts] 37 | v.push_back(oki[aux[0]] + '0'); | ^ main.cpp:52:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for(int i = 0; i < v.size(); i ++) | ~~^~~~~~~~~~ main.cpp:64:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 64 | for(int i = 0; i < v.size(); i ++) | ~~^~~~~~~~~~ main.cpp:78:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 78 | for(int i = 0; i < v.size(); i ++) | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:100:13: warning: array subscript has type 'char' [-Wchar-subscripts] 100 | oki[x] = 1 - oki[x]; ind = 0; | ^ main.cpp:100:26: warning: array subscript has type 'char' [-Wchar-subscripts] 100 | oki[x] = 1 - oki[x]; ind = 0; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
51ms303kbIncorect0
61ms303kbIncorect0
71ms303kbOK10
81ms303kbOK10
91ms303kbOK10
101ms303kbOK10
Punctaj total50

Ceva nu functioneaza?