Borderou de evaluare (job #2955100)

Utilizator _andrei4567Stan Andrei _andrei4567 Data 16 decembrie 2022 11:00:39
Problema Expr Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'std::vector<int> reuniune(std::vector<int>, std::vector<int>)': main.cpp:20:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 20 | while (i < a.size () && j < b.size()) | ~~^~~~~~~~~~~ main.cpp:20:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 20 | while (i < a.size () && j < b.size()) | ~~^~~~~~~~~~ main.cpp:29:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | while (i < a.size()) | ~~^~~~~~~~~~ main.cpp:31:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | while (j < b.size()) | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> intersectie(std::vector<int>, std::vector<int>)': main.cpp:39:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | while (i < a.size () && j < b.size()) | ~~^~~~~~~~~~~ main.cpp:39:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | while (i < a.size () && j < b.size()) | ~~^~~~~~~~~~ main.cpp: In function 'std::vector<int> diferenta(std::vector<int>, std::vector<int>)': main.cpp:56:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | while (i < a.size () && j < b.size()) | ~~^~~~~~~~~~~ main.cpp:56:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | while (i < a.size () && j < b.size()) | ~~^~~~~~~~~~ main.cpp:65:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | while (i < a.size()) | ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:141:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 141 | for (int i = 0; i < sol.size(); ++i) | ~~^~~~~~~~~~~~ main.cpp:142:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 142 | if (i != sol.size() - 1) | ~~^~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
50ms184kbOK10
60ms184kbOK10
70ms184kbOK10
80ms184kbOK10
90ms184kbOK10
100ms184kbOK10
Punctaj total100

Ceva nu functioneaza?