Pagini recente » Cod sursa (job #2189237) | Diferente pentru admin/task-ratings-guidelines intre reviziile 14 si 13 | Cod sursa (job #77869) | Cod sursa (job #2300567) | Borderou de evaluare (job #2975011)
Borderou de evaluare (job #2975011)
Raport evaluator
Compilare:
main.cpp: In member function 'int Graph::dfs(int, int)':
main.cpp:47:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int &h = rem[nod] ; h < vecini[nod].size() ; h++)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void Graph::add(int, int, int)':
main.cpp:76:46: warning: narrowing conversion of '(&((Graph*)this)->Graph::vecini.std::vector<std::vector<Graph::muchie> >::operator[](((std::vector<std::vector<Graph::muchie> >::size_type)b)))->std::vector<Graph::muchie>::size()' from 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
76 | vecini[a].push_back({b,vecini[b].size(),c,0});
| ~~~~~~~~~~~~~~^~
main.cpp:77:49: warning: narrowing conversion of '((&((Graph*)this)->Graph::vecini.std::vector<std::vector<Graph::muchie> >::operator[](((std::vector<std::vector<Graph::muchie> >::size_type)a)))->std::vector<Graph::muchie>::size() - 1)' from 'std::vector<Graph::muchie>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
77 | vecini[b].push_back({a,vecini[a].size() - 1,0,0});
| ~~~~~~~~~~~~~~~~~^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 184kb | OK | 10 | 10 |
| 2 | 0ms | 184kb | OK | 10 | 10 |
| 3 | 0ms | 188kb | OK | 10 | 10 |
| 4 | 0ms | 184kb | OK | 10 | 10 |
| 5 | 0ms | 184kb | OK | 10 | 10 |
| 6 | 0ms | 184kb | OK | 10 | 10 |
| 7 | 0ms | 184kb | OK | 10 | 10 |
| 8 | 0ms | 184kb | OK | 10 | 30 |
| 9 | 0ms | 184kb | OK | 10 |
| 10 | 0ms | 184kb | OK | 10 |
| Punctaj total | 100 |