Pagini recente » Borderou de evaluare (job #1223315) | Borderou de evaluare (job #1378164) | Borderou de evaluare (job #2990126) | Borderou de evaluare (job #1205734) | Borderou de evaluare (job #2821881)
Borderou de evaluare (job #2821881)
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 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:319:18: note: 'm' was declared here
319 | int n, a, b, m;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 262kb | OK | 10 | 10 |
2 | 2ms | 184kb | OK | 10 | 10 |
3 | 2ms | 184kb | OK | 10 | 10 |
4 | 2ms | 184kb | OK | 10 | 10 |
5 | 6ms | 290kb | OK | 10 | 30 |
6 | 69ms | 946kb | OK | 10 |
7 | 69ms | 929kb | OK | 10 |
8 | 73ms | 1228kb | OK | 10 | 10 |
9 | 40ms | 864kb | OK | 10 | 10 |
10 | 78ms | 1482kb | OK | 10 | 10 |
Punctaj total | 100 |