Borderou de evaluare (job #3301995)

Utilizator AswVwsACamburu Luca AswVwsA Data 1 iulie 2025 22:37:19
Problema Grup Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void goleste(int)': main.cpp:39:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 39 | while (dusman.size() > len) | ~~~~~~~~~~~~~~^~~~~ main.cpp: In function 'void baga(int)': main.cpp:52:25: warning: variable 'cineva' set but not used [-Wunused-but-set-variable] 52 | pair <int, int> cineva = *rest.begin(); | ^~~~~~ main.cpp: In function 'int main()': main.cpp:151:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for (i = 0; i < k1 and i < _10.size(); i++) | ~~^~~~~~~~~~~~ main.cpp:156:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 156 | for (; i < _10.size(); i++) | ~~^~~~~~~~~~~~ main.cpp:163:49: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 163 | while (!rest.empty() and chosen.size() + c1 < s) | ~~~~~~~~~~~~~~~~~~~^~~ main.cpp:166: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] 166 | if (chosen.size() + 0 + c1 == s and c1 >= k1 and dusman.size() <= k2) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:166:68: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 166 | if (chosen.size() + 0 + c1 == s and c1 >= k1 and dusman.size() <= k2) | ~~~~~~~~~~~~~~^~~~~ main.cpp:172:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 172 | for (i = 1; i <= _11.size() and i <= k2; i++) | ~~^~~~~~~~~~~~~ main.cpp:184:44: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 184 | if (c1 >= k1 - i and dusman.size() <= k2 - i) | ~~~~~~~~~~~~~~^~~~~~~~~ main.cpp:190:65: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 190 | while (!rest.empty() and chosen.size() + i + c1 < s) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ main.cpp:195:47: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 195 | while (chosen.size() + i + c1 > s) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ main.cpp:207:47: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | while (chosen.size() + i + c1 == s and optimize()) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:214: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] 214 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:214:76: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 214 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i) | ~~~~~~~~~~~~~~^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
68ms2129kbOK10
714ms2887kbIncorect0
819ms4046kbOK10
934ms5906kbOK10
1034ms6086kbOK10
Punctaj total90

Ceva nu functioneaza?