Pagini recente » Borderou de evaluare (job #466534) | Borderou de evaluare (job #2802275) | Borderou de evaluare (job #3130628) | Borderou de evaluare (job #1519463) | Borderou de evaluare (job #3301995)
Borderou de evaluare (job #3301995)
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 |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 8ms | 2129kb | OK | 10 |
7 | 14ms | 2887kb | Incorect | 0 |
8 | 19ms | 4046kb | OK | 10 |
9 | 34ms | 5906kb | OK | 10 |
10 | 34ms | 6086kb | OK | 10 |
Punctaj total | 90 |