Borderou de evaluare (job #3150033)

Utilizator AnSeDraAndrei Sebastian Dragulescu AnSeDra Data 14 septembrie 2023 14:48:11
Problema Grup Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:52:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for(p3 = 0; p3 < v[2].size() && p3 < k1; p3++){ | ~~~^~~~~~~~~~~~~ main.cpp:61:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | if((p1 < v[0].size()) && (p2 <= k2 || p2 >= v[1].size() || v[0][p1] <= v[1][p2]) && (p3 >= v[2].size() || v[0][p1] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~ main.cpp:61:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | if((p1 < v[0].size()) && (p2 <= k2 || p2 >= v[1].size() || v[0][p1] <= v[1][p2]) && (p3 >= v[2].size() || v[0][p1] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~~ main.cpp:61:97: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | if((p1 < v[0].size()) && (p2 <= k2 || p2 >= v[1].size() || v[0][p1] <= v[1][p2]) && (p3 >= v[2].size() || v[0][p1] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~~ main.cpp:65:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | else if(p2 <= k2 && p2 < v[1].size() && (p1 >= v[0].size() || v[1][p2] <= v[0][p1]) && (p3 >= v[2].size() || v[1][p2] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~ main.cpp:65:53: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | else if(p2 <= k2 && p2 < v[1].size() && (p1 >= v[0].size() || v[1][p2] <= v[0][p1]) && (p3 >= v[2].size() || v[1][p2] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~~ main.cpp:65:100: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | else if(p2 <= k2 && p2 < v[1].size() && (p1 >= v[0].size() || v[1][p2] <= v[0][p1]) && (p3 >= v[2].size() || v[1][p2] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~~ main.cpp:69:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 69 | else if(p3 < v[2].size()){ | ~~~^~~~~~~~~~~~~ main.cpp:58:13: warning: unused variable 'w' [-Wunused-variable] 58 | int w = v[0][p1]; | ^ main.cpp:59:13: warning: unused variable 'f' [-Wunused-variable] 59 | int f = v[1][p2]; | ^ main.cpp:85:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 85 | for(int i = 0; i <= k2 && i < v[3].size(); i++){ | ~~^~~~~~~~~~~~~ main.cpp:105:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 105 | if((p1 < v[0].size()) && (i + 1 + p2 <= k2 || p2 >= v[1].size() || v[0][p1] <= v[1][p2]) && (p3 >= v[2].size() || v[0][p1] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~ main.cpp:105:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 105 | if((p1 < v[0].size()) && (i + 1 + p2 <= k2 || p2 >= v[1].size() || v[0][p1] <= v[1][p2]) && (p3 >= v[2].size() || v[0][p1] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~~ main.cpp:105:109: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 105 | if((p1 < v[0].size()) && (i + 1 + p2 <= k2 || p2 >= v[1].size() || v[0][p1] <= v[1][p2]) && (p3 >= v[2].size() || v[0][p1] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~~ main.cpp:109:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 109 | else if(i + 1 + p2 <= k2 && p2 < v[1].size() && (p1 >= v[0].size() || v[1][p2] <= v[0][p1]) && (p3 >= v[2].size() || v[1][p2] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~ main.cpp:109:65: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 109 | else if(i + 1 + p2 <= k2 && p2 < v[1].size() && (p1 >= v[0].size() || v[1][p2] <= v[0][p1]) && (p3 >= v[2].size() || v[1][p2] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~~ main.cpp:109:112: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
64ms819kbIncorect0
76ms1081kbIncorect0
89ms1343kbIncorect0
99ms1732kbIncorect0
109ms1728kbIncorect0
Punctaj total0

Ceva nu functioneaza?