Borderou de evaluare (job #3140685)

Utilizator catalinmarincatalinmarin catalinmarin Data 8 iulie 2023 16:32:20
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'bool ParantezeConst(std::string&, int&, std::string&)': main.cpp:55:101: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 55 | while (str[position] != ' ' && str[position] != ')' && str[position] != '(' && position < str.size()) { | ~~~~~~~~~^~~~~~~~~~~~ main.cpp:59:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | if (position < str.size()) { | ~~~~~~~~~^~~~~~~~~~~~ main.cpp:72:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 72 | if (str[position] == ')' || position == str.size()) { | ~~~~~~~~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:95:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 95 | for (int i = 0; i < change.size(); i++){ | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'bool ParantezeConst(std::string&, int&, std::string&)': main.cpp:85:12: warning: 'Nr1' may be used uninitialized [-Wmaybe-uninitialized] 85 | return Nr1; | ^~~ main.cpp:45:10: note: 'Nr1' was declared here 45 | bool Nr1; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total70

Ceva nu functioneaza?