Pagini recente » Borderou de evaluare (job #2686923) | Borderou de evaluare (job #427499) | Borderou de evaluare (job #1178031) | Borderou de evaluare (job #1660635) | Borderou de evaluare (job #3148935)
Borderou de evaluare (job #3148935)
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 |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 4ms | 819kb | Incorect | 0 |
7 | 6ms | 1081kb | Incorect | 0 |
8 | 9ms | 1486kb | Incorect | 0 |
9 | 9ms | 1654kb | Incorect | 0 |
10 | 9ms | 1732kb | Incorect | 0 |
Punctaj total | 0 |