Pagini recente » Borderou de evaluare (job #1287804) | Borderou de evaluare (job #1633578) | Borderou de evaluare (job #1193126) | Borderou de evaluare (job #1920649) | Borderou de evaluare (job #2906559)
Borderou de evaluare (job #2906559)
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 | 57ms | 720kb | OK | 10 |
7 | 136ms | 2297kb | OK | 10 |
8 | 140ms | 1773kb | OK | 10 |
9 | 80ms | 1204kb | OK | 10 |
10 | 114ms | 1138kb | OK | 10 |
Punctaj total | 40 |