Borderou de evaluare (job #2846390)

Utilizator iancupoppPopp Iancu Alexandru iancupopp Data 9 februarie 2022 10:35:26
Problema Colectie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::vector<int> add(std::vector<int>&, std::vector<int>&)': main.cpp:62:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for (int i = 0; i < x.size(); ++i) | ~~^~~~~~~~~~ main.cpp: In function 'bool cmp2(std::pair<std::vector<int>, int>&, std::pair<std::vector<int>, int>&)': main.cpp:79:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | for (int i = 0; i < x.first.size(); ++i) | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'bool cmp(const std::vector<int>&, const std::vector<int>&)': main.cpp:86:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 86 | for (int i = 0; i < x.size(); ++i) | ~~^~~~~~~~~~ main.cpp: In function 'bool egale(const std::vector<int>&, const std::vector<int>&)': main.cpp:93:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for (int i = 0; i < x.size(); ++i) | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:137:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 137 | for (int i = 0; i < val_a.size(); ++i) { | ~~^~~~~~~~~~~~~~ main.cpp:140:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 140 | if (poz + pas < val_b.size() && cmp(add(val_a[i].first, val_b[poz + pas].first), fin)) | ~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:145:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::vector<int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | if (poz < val_b.size() && egale(add(val_a[i].first, val_b[poz].first), fin)) { | ~~~~^~~~~~~~~~~~~~ main.cpp:136:7: warning: unused variable 'j' [-Wunused-variable] 136 | int j = val_b.size() - 1, mask_a = -1, mask_b = -1, cnt; | ^ main.cpp:147:30: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] 147 | if (mask_a == -1 || bb < cnt) { | ~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms421kb10 != 110
22ms184kb10 != 90
32ms184kb10 != 70
42ms184kb14 != 130
569ms2879kb14 != 150
6235ms8151kb15 != 90
7222ms8151kb15 != 130
8251ms10752kbTime limit exceeded0
9251ms10743kbTime limit exceeded0
10251ms10752kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?