Borderou de evaluare (job #3041810)

Utilizator Razvan48Capatina Razvan Nicolae Razvan48 Data 1 aprilie 2023 16:55:12
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 65

Raport evaluator

Compilare: main.cpp: In function 'void amestec()': main.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | while (index < s.size() && s[index] != ')') | ~~~~~~^~~~~~~~~~ main.cpp:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | while (index < s.size() && s[index] == ' ') | ~~~~~~^~~~~~~~~~ main.cpp:33:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 33 | if (index < s.size() && s[index] != '(') | ~~~~~~^~~~~~~~~~ main.cpp:37:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | else if (index < s.size() && s[index] == '(') | ~~~~~~^~~~~~~~~~ main.cpp:43:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 43 | while (index < s.size() && s[index] == ' ') | ~~~~~~^~~~~~~~~~ main.cpp:48:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | while (index < s.size() && '0' <= s[index] && s[index] <= '9') | ~~~~~~^~~~~~~~~~ main.cpp: In function 'void produs()': main.cpp:61:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | while (index < s.size() && s[index] == ' ') | ~~~~~~^~~~~~~~~~ main.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 66 | while (index < s.size() && 'a' <= s[index] && s[index] <= 'z') | ~~~~~~^~~~~~~~~~ main.cpp:72:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 72 | while (index < s.size() && s[index] == ' ') | ~~~~~~^~~~~~~~~~ main.cpp:77:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 77 | while (index < s.size() && '0' <= s[index] && s[index] <= '9') | ~~~~~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:116:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::__cxx11::basic_string<char>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 116 | for (int i = 0; i < sol.size(); i++) | ~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
50ms303kbAfisarea Ingredientelor gresita3
60ms303kbOK!10
70ms303kbAfisarea Ingredientelor gresita3
80ms303kbAfisarea Ingredientelor gresita3
90ms303kbAfisarea Ingredientelor gresita3
100ms303kbAfisarea Ingredientelor gresita3
Punctaj total65

Ceva nu functioneaza?