Borderou de evaluare (job #3301996)

Utilizator AswVwsACamburu Luca AswVwsA Data 1 iulie 2025 22:40:39
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 '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:188:61: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 188 | while (!rest.empty() and chosen.size() + i + c1 < s) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ main.cpp:193: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] 193 | while (chosen.size() + i + c1 > s) | ~~~~~~~~~~~~~~~~~~~~~~~^~~ main.cpp:205: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] 205 | while (chosen.size() + i + c1 == s and optimize()) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:211: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] 211 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ main.cpp:211:76: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 211 | 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
51ms303kbOK10
67ms1998kbOK10
714ms2998kbIncorect0
824ms4145kbOK10
937ms6098kbOK10
1041ms6144kbOK10
Punctaj total90

Ceva nu functioneaza?