Borderou de evaluare (job #3301980)
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)
| ~~~~~~~~~~~~~~^~~~~~~~
main.cpp:167:39: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
167 | while (chosen.size() + i + c1 > s)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
main.cpp:178: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]
178 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:178:76: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
178 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i)
| ~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:166:13: warning: unused variable 'ax' [-Wunused-variable]
166 | int ax = chosen.size();
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | OK | 10 |
5 | 1ms | 303kb | OK | 10 |
6 | 11ms | 2154kb | Killed by Signal 11 | 0 |
7 | 14ms | 2863kb | Incorect | 0 |
8 | 25ms | 4296kb | Killed by Signal 11 | 0 |
9 | 36ms | 6123kb | Killed by Signal 11 | 0 |
10 | 38ms | 6148kb | OK | 10 |
Punctaj total | 50 |