Pagini recente » Borderou de evaluare (job #1768078) | Borderou de evaluare (job #3301983)
Borderou de evaluare (job #3301983)
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 |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 8ms | 2129kb | OK | 10 |
7 | 13ms | 2908kb | Incorect | 0 |
8 | 23ms | 4145kb | OK | 10 |
9 | 34ms | 5898kb | OK | 10 |
10 | 39ms | 6148kb | OK | 10 |
Punctaj total | 80 |