Pagini recente » Borderou de evaluare (job #1381090) | Borderou de evaluare (job #17541) | Borderou de evaluare (job #43511) | Borderou de evaluare (job #1792639) | Borderou de evaluare (job #2906557)
Borderou de evaluare (job #2906557)
Raport evaluator
Compilare:
main.cpp: In function 'void heapifyUp(int)':
main.cpp:19:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | while(indexParinte >= 0 && indexParinte < h.size())
| ~~~~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'void heapifyDown(int)':
main.cpp:46:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if(copilIndex < 0 || copilIndex >= h.size()) return;
| ~~~~~~~~~~~^~~~~~~~~~~
main.cpp:47:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if(copilIndex + 1 >= 0 && copilIndex + 1 <= h.size() - 1 && h[copilIndex+1].first < h[copilIndex].first)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:49:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | while(copilIndex < h.size())
| ~~~~~~~~~~~^~~~~~~~~~
main.cpp:57:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | if(copilIndex < 0 || copilIndex >= h.size()) return;
| ~~~~~~~~~~~^~~~~~~~~~~
main.cpp:58:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if(copilIndex + 1 >= 0 && copilIndex + 1 <= h.size() - 1 && h[copilIndex+1].first < h[copilIndex].first)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 10 | 10 |
2 | 1ms | 184kb | OK | 10 | 10 |
3 | 1ms | 184kb | OK | 10 | 10 |
4 | 1ms | 184kb | OK | 10 | 10 |
5 | 1ms | 184kb | Incorect | 0 | 0 |
6 | 45ms | 839kb | OK | 10 |
7 | 142ms | 2207kb | OK | 10 |
8 | 95ms | 1769kb | OK | 10 |
9 | 132ms | 1134kb | OK | 10 |
10 | 136ms | 1122kb | OK | 10 |
Punctaj total | 40 |