Borderou de evaluare (job #3301983)

Utilizator AswVwsACamburu Luca AswVwsA Data 1 iulie 2025 20:13:25
Problema Grup Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:117:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 117 | for (i = 0; i < k1 and i < _10.size(); i++) | ~~^~~~~~~~~~~~ main.cpp:122:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 122 | for (; i < _10.size(); i++) | ~~^~~~~~~~~~~~ main.cpp:134:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 134 | while (dusman.size() > k2) | ~~~~~~~~~~~~~~^~~~ main.cpp:142:32: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if (chosen.size() + 0 + c1 == s and c1 >= k1 and dusman.size() <= k2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:142:68: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 142 | if (chosen.size() + 0 + c1 == s and c1 >= k1 and dusman.size() <= k2) | ~~~~~~~~~~~~~~^~~~~ main.cpp:148:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 148 | for (i = 1; i <= _11.size() and i <= k2; i++) | ~~^~~~~~~~~~~~~ main.cpp:159:30: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 159 | while (dusman.size() > k2 - i) | ~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/c++/12.2.1/cassert:44, from main.cpp:2: main.cpp:166:30: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 166 | assert(dusman.size() <= k2 - i); | ~~~~~~~~~~~~~~^~~~~~~~~ main.cpp:168:44: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 168 | if (c1 >= k1 - i and dusman.size() <= k2 - i) | ~~~~~~~~~~~~~~^~~~~~~~~ main.cpp:170:43: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 170 | while (chosen.size() + i + c1 > s) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ main.cpp:181:36: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 181 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:181:76: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 181 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i) | ~~~~~~~~~~~~~~^~~~~~~~~ main.cpp:167:13: warning: unused variable 'ax' [-Wunused-variable] 167 | int ax = chosen.size(); | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbIncorect0
40ms303kbOK10
50ms303kbOK10
68ms2129kbOK10
713ms2908kbIncorect0
823ms4145kbOK10
934ms5898kbOK10
1039ms6148kbOK10
Punctaj total80

Ceva nu functioneaza?