Pagini recente » Borderou de evaluare (job #1005459) | Borderou de evaluare (job #2830707) | Borderou de evaluare (job #2814994) | Borderou de evaluare (job #2856137) | Borderou de evaluare (job #2821900)
Borderou de evaluare (job #2821900)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graph::setEdgeCost(int, int, int)':
main.cpp:54:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | if(i <= m_costMatrix.size()){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:55:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if(j <= m_costMatrix[i].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'int Graph::bfs_dist(int, std::vector<bool>&, std::vector<int>&)':
main.cpp:144:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
144 | for(int i = 0; i < neighbours; ++i){
| ~~^~~~~~~~~~~~
main.cpp: In member function 'void minimumSpanningTree::createMst()':
main.cpp:313:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
313 | for(int i = 0; i < sz; ++i){
| ~~^~~~
main.cpp: In function 'void pbDarb(const string&, const string&)':
main.cpp:21:25: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | m_numberOfEdges = numberOfEdges;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:396:18: note: 'm' was declared here
396 | int n, a, b, m;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Corect | 10 |
2 | 2ms | 184kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 2ms | 184kb | Corect | 10 |
6 | 126ms | 3739kb | Corect | 10 |
7 | 232ms | 8245kb | Corect | 10 |
8 | 49ms | 1560kb | Corect | 10 |
9 | 54ms | 1675kb | Corect | 10 |
10 | 203ms | 6119kb | Corect | 10 |
Punctaj total | 100 |