Borderou de evaluare (job #3148935)

Utilizator AnSeDraAndrei Sebastian Dragulescu AnSeDra Data 5 septembrie 2023 11:35:39
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:15: 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 == v[1].size() || (p2 < v[1].size() && v[0][p1] <= v[1][p2])) && (p3 == v[2].size() || (p3 < v[2].size() && v[0][p1] <= v[2][p3]))){ | ~~~^~~~~~~~~~~~~ main.cpp:61:36: 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 == v[1].size() || (p2 < v[1].size() && v[0][p1] <= v[1][p2])) && (p3 == v[2].size() || (p3 < v[2].size() && v[0][p1] <= v[2][p3]))){ | ~~~^~~~~~~~~~~~~~ main.cpp:61:58: 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 == v[1].size() || (p2 < v[1].size() && v[0][p1] <= v[1][p2])) && (p3 == v[2].size() || (p3 < v[2].size() && v[0][p1] <= v[2][p3]))){ | ~~~^~~~~~~~~~~~~ main.cpp:61:105: 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 == v[1].size() || (p2 < v[1].size() && v[0][p1] <= v[1][p2])) && (p3 == v[2].size() || (p3 < v[2].size() && v[0][p1] <= v[2][p3]))){ | ~~~^~~~~~~~~~~~~~ main.cpp:61:127: 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 == v[1].size() || (p2 < v[1].size() && v[0][p1] <= v[1][p2])) && (p3 == v[2].size() || (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() || (p1 < v[0].size() && v[1][p2] <= v[0][p1])) && (p3 == v[2].size() || (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() || (p1 < v[0].size() && v[1][p2] <= v[0][p1])) && (p3 == v[2].size() || (p3 < v[2].size() && v[1][p2] <= v[2][p3]))){ | ~~~^~~~~~~~~~~~~~ main.cpp:65:75: 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() || (p1 < v[0].size() && v[1][p2] <= v[0][p1])) && (p3 == v[2].size() || (p3 < v[2].size() && v[1][p2] <= v[2][p3]))){ | ~~~^~~~~~~~~~~~~ main.cpp:65:122: 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() || (p1 < v[0].size() && v[1][p2] <= v[0][p1])) && (p3 == v[2].size() || (p3 < v[2].size() && v[1][p2] <= v[2][p3]))){ | ~~~^~~~~~~~~~~~~~ main.cpp:65:144: 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() || (p1 < v[0].size() && v[1][p2] <= v[0][p1])) && (p3 == v[2].size() || (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:19: 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() && (p2 < v[1].size() && v[0][p1] <= v[1][p2]) && (p3 < v[2].size() && v[0][p1] <= v[2][p3])){ | ~~~^~~~~~~~~~~~~ main.cpp:105:40: 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
89ms1486kbIncorect0
99ms1654kbIncorect0
109ms1732kbIncorect0
Punctaj total0

Ceva nu functioneaza?