Pagini recente » Borderou de evaluare (job #1056491) | Borderou de evaluare (job #1087131) | Borderou de evaluare (job #1005459) | Borderou de evaluare (job #2830707) | Borderou de evaluare (job #2814994)
Borderou de evaluare (job #2814994)
Raport evaluator
Compilare:
main.cpp: In constructor 'weightedGraph::weightedGraph(int, int, std::vector<std::vector<int> >&)':
main.cpp:17:30: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
17 | if(costMatrix.size() != numberOfNodes + 1){
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void weightedGraph::setEdgeCost(int, int, int)':
main.cpp:52:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if(i <= m_costMatrix.size()){
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:53:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | if(j <= m_costMatrix[i].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 2ms | 184kb | OK | 10 |
7 | 6ms | 200kb | OK | 10 |
8 | 6ms | 294kb | OK | 10 |
9 | 6ms | 331kb | OK | 10 |
10 | 11ms | 356kb | OK | 10 |
Punctaj total | 90 |