Pagini recente » Borderou de evaluare (job #2528129) | Borderou de evaluare (job #1122164) | Borderou de evaluare (job #1693262) | Borderou de evaluare (job #3300360) | Borderou de evaluare (job #3301991)
Borderou de evaluare (job #3301991)
Raport evaluator
Compilare:
main.cpp: In function 'void baga()':
main.cpp:42:25: warning: variable 'cineva' set but not used [-Wunused-but-set-variable]
42 | pair <int, int> cineva = *rest.begin();
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:126:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
126 | for (i = 0; i < k1 and i < _10.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp:131:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for (; i < _10.size(); i++)
| ~~^~~~~~~~~~~~
main.cpp:143:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
143 | while (dusman.size() > k2)
| ~~~~~~~~~~~~~~^~~~
main.cpp:151: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]
151 | if (chosen.size() + 0 + c1 == s and c1 >= k1 and dusman.size() <= k2)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:151:68: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
151 | if (chosen.size() + 0 + c1 == s and c1 >= k1 and dusman.size() <= k2)
| ~~~~~~~~~~~~~~^~~~~
main.cpp:157:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | for (i = 1; i <= _11.size() and i <= k2; i++)
| ~~^~~~~~~~~~~~~
main.cpp:168:30: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
168 | while (dusman.size() > k2 - i)
| ~~~~~~~~~~~~~~^~~~~~~~
main.cpp:176:44: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
176 | if (c1 >= k1 - i and dusman.size() <= k2 - i)
| ~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:178: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]
178 | while (chosen.size() + i + c1 > s)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
main.cpp:190: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]
190 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
main.cpp:190:76: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
190 | if (chosen.size() + i + c1 == s and c1 >= k1 - i and dusman.size() <= k2 - i)
| ~~~~~~~~~~~~~~^~~~~~~~~
main.cpp:175:13: warning: unused variable 'ax' [-Wunused-variable]
175 | 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 | 9ms | 2129kb | OK | 10 |
| 7 | 14ms | 3035kb | Incorect | 0 |
| 8 | 19ms | 3952kb | OK | 10 |
| 9 | 34ms | 6037kb | OK | 10 |
| 10 | 39ms | 6144kb | OK | 10 |
| Punctaj total | 80 |